We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3b299c commit 772ba60Copy full SHA for 772ba60
1 file changed
misc/run-command-shim
@@ -35,14 +35,14 @@ bin="$(readlink -f "$SCRIPT_DIR/$HANDLER_BIN")"
35
cmd="$1"
36
37
# For commands other than 'enable', execute the handler process as a child process
38
-commandToExecute = "${bin} ${cmd}"
+commandToExecute="$bin $cmd"
39
40
if [[ "$cmd" == "enable" ]]; then
41
# for 'enable' command, double fork
42
# to detach from the handler process tree to avoid getting terminated
43
# after the 15-minute extension enabling timeout.
44
# & will execute the binary on the background and will not block current shell execution
45
- commandToExecute = "nohup ${bin} ${cmd} &"
+ commandToExecute="nohup $bin $cmd &"
46
fi
47
48
### Retry logic to acquire lock and execute the command
0 commit comments