aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/unix
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-04-25 10:49:31 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-04-25 10:49:31 +0800
commit3366366bf61dd819c874be78ae873a5d6e0e99d2 (patch)
treeb41ab9a6c816af7ae900d7edc465ac18f328392f /bin/unix
parent1a01d4022a8d45aca5b7aab191a26a90c085fbe3 (diff)
Update
Diffstat (limited to 'bin/unix')
-rwxr-xr-xbin/unix/timer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/unix/timer.sh b/bin/unix/timer.sh
index e02fcfb..cd16bb1 100755
--- a/bin/unix/timer.sh
+++ b/bin/unix/timer.sh
@@ -81,7 +81,7 @@ timer() {
81 done 81 done
82} 82}
83 83
84trap 'exec 1>&3; [ -n "COMMAND_EXIT" ] && eval "$COMMAND_EXIT" && unset COMMAND_EXIT' EXIT HUP 84trap 'exec 1>&3; [ -n "COMMAND_EXIT" ] && eval "$COMMAND_EXIT" && unset COMMAND_EXIT; date >>/tmp/context' EXIT HUP
85 85
86while [ $count -lt $SET ]; do 86while [ $count -lt $SET ]; do
87 [ $stop = true ] && sleep 0.3 && continue 87 [ $stop = true ] && sleep 0.3 && continue