this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix new shutdown script not working

+1 -1
+1 -1
tools/shutdown-user.sh
··· 5 5 while [[ ! -z $PID ]] 6 6 do 7 7 THISPID=$(echo $PID | head -n1) 8 - RUNNING_USER=$(ps -o uname= -p $THISPID) 8 + RUNNING_USER=$(ps -o uname= -p $THISPID | head -n1) 9 9 echo "Darling currently running for $RUNNING_USER, shutting it down..." 10 10 sudo -u $RUNNING_USER darling shutdown 11 11 sleep 2