From 1f29cc8d005bec279528e03ffe4353fc0751a474 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Sun, 15 May 2022 11:20:04 +0200 Subject: [PATCH] Improve on_file_write command argument handling --- bin/on_file_write | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/on_file_write b/bin/on_file_write index 286a7d9..e9a200b 100755 --- a/bin/on_file_write +++ b/bin/on_file_write @@ -1,5 +1,5 @@ #!/bin/sh while inotifywait --recursive --event CLOSE_WRITE . > /dev/null 2>&1 -do $@ +do $SHELL -c "$@" done