aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxalarm8
1 files changed, 4 insertions, 4 deletions
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
}