From e2a27af6e7f91d8cc0f63087eb2e80dc287435dd Mon Sep 17 00:00:00 2001 From: Daniel Poelzleithner Date: Wed, 12 Jan 2022 20:46:41 +0100 Subject: [PATCH] use relative sh path --- lsyncd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsyncd.lua b/lsyncd.lua index c123e09..f0b2df4 100644 --- a/lsyncd.lua +++ b/lsyncd.lua @@ -5425,7 +5425,7 @@ function spawnShell command, -- the shell command ... -- additonal arguments ) - return spawn( agent, '/bin/sh', '-c', command, '/bin/sh', ... ) + return spawn( agent, 'sh', '-c', command, 'sh', ... ) end