From 34ef41d6dd8a26074973a288de0c0ed530db4d25 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 30 May 2018 11:25:22 -0300 Subject: Xalarm fixes --- xalarm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xalarm') 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 } -- cgit v1.2.3