소스 검색

Fix fn_details_statusbottom in fn_details_source()

The function was not working properly since the pid variable is missing.
This solve the issue.
zaggash 10 년 전
부모
커밋
90ef0d051f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      functions/fn_details

+ 1 - 0
functions/fn_details

@@ -372,6 +372,7 @@ fn_details_statusbottom
 }
 
 fn_details_source(){
+pid=$(tmux list-sessions 2>&1 | awk '{print $1}' | grep -Ec "^${servicename}:")
 fn_check_ip
 fn_parms
 fn_details_config