summaryrefslogtreecommitdiff
path: root/shutdownasap.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-30 22:37:14 +0200
committerErich Eckner <git@eckner.net>2020-03-30 22:37:14 +0200
commit7452af237b00b10c82cff0e5962357181690a912 (patch)
tree82254f08db868cd6d1b921f06dd598d76f645818 /shutdownasap.in
parent7244caf5f06a5984726f402763402a22d788478a (diff)
downloadshutdownasap-7452af237b00b10c82cff0e5962357181690a912.tar.xz
additionalWatchHook -> additionalWatchHookSlow, additionalWatchHookFast
Diffstat (limited to 'shutdownasap.in')
-rwxr-xr-xshutdownasap.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/shutdownasap.in b/shutdownasap.in
index 1206fb5..146725a 100755
--- a/shutdownasap.in
+++ b/shutdownasap.in
@@ -21,7 +21,7 @@ fi
beforeWatchHook
i=1
-while [ ${i} -gt 0 ] || ! additionalWatchHook
+while [ ${i} -gt 0 ] || ! additionalWatchHookSlow
do
if [ ${i} -eq 0 ]
then
@@ -84,6 +84,14 @@ do
fi
done
+ if ! additionalWatchHookFast
+ then
+ nochwarten=true
+ if ! ${quiet}; then
+ echo "additionalWatchHookFast"
+ fi
+ fi
+
if ${nochwarten}
then
if ! ${quiet}; then