Browse Source

check_root.sh

pull/584/head
Daniel Gibbs 9 years ago
parent
commit
7f79b23f16
  1. 2
      functions/command_validate.sh

2
functions/command_validate.sh

@ -42,7 +42,7 @@ fi
fn_scriptlog "Checking complete"
}
fn_check_root
check_root.sh
check_systemdir.sh
tmuxwc=$(tmux list-sessions 2>&1|awk '{print $1}'|grep -v failed|grep -Ec "^${servicename}:")
if [ "${tmuxwc}" -eq 1 ]; then

Loading…
Cancel
Save