Explorar o código

Typo's are KILLING ME!

cedarlug %!s(int64=10) %!d(string=hai) anos
pai
achega
05202ac0c3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/command_stop.sh

+ 1 - 1
lgsm/functions/command_stop.sh

@@ -180,7 +180,7 @@ fn_stop_ark(){
                                 rev | cut -d\/ -f1)
                         #
                         # check for a valid pid
-                        pig=${pid//[!0-9]/}
+                        pid=${pid//[!0-9]/}
                         let pid+=0 # turns an empty string into a valid number, '0',
                         # and a valid numeric pid remains unchanged.
                         if [[ $pid -gt 1 && $pid -le $(cat /proc/sys/kernel/pid_max) ]] ; then