From: Silvio Rhatto Date: Wed, 30 May 2018 14:25:22 +0000 (-0300) Subject: Xalarm fixes X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=34ef41d6dd8a26074973a288de0c0ed530db4d25;p=utils-x11.git Xalarm fixes --- diff --git a/xalarm b/xalarm index dd40331..ccc2116 100755 --- a/xalarm +++ b/xalarm @@ -94,28 +94,28 @@ function xalarm_cancel { # Pause alarms function xalarm_pause { for pid in `xalarm_pids $1`; do - xalarm_signal -STOP $pid + xalarm_signal $pid -STOP done } # Resume alarms function xalarm_resume { for pid in `xalarm_pids $1`; do - xalarm_signal -CONT $pid + xalarm_signal $pid -CONT done } # Reset alarms function xalarm_reset { for pid in `xalarm_pids $1`; do - xalarm_signal -USR1 $pid + xalarm_signal $pid -USR1 done } # Reset alarm loop counter function xalarm_reset_loop { for pid in `xalarm_pids $1`; do - xalarm_signal -USR2 $pid + xalarm_signal $pid -USR2 done }