瀏覽代碼

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