summaryrefslogtreecommitdiffstats
path: root/printloop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'printloop.sh')
-rwxr-xr-xprintloop.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/printloop.sh b/printloop.sh
index 74ad25e..64c1e24 100755
--- a/printloop.sh
+++ b/printloop.sh
@@ -10,6 +10,6 @@ print_queue(){
}
print_queue
-while inotifywait --quiet "$queuedir/new" /dev; do
+while inotifywait --quiet --timeout 30 "$queuedir/new"; do
print_queue
done