summary refs log tree commit diff
path: root/demo/stop.sh
diff options
context:
space:
mode:
authorDan Callahan <danc@element.io>2021-10-27 21:36:18 +0100
committerGitHub <noreply@github.com>2021-10-27 21:36:18 +0100
commita1ba7a850aaad51799ce77006ac5e8a425881765 (patch)
treeaa501e65702a3e3fb179c3a0c37dc15543637f72 /demo/stop.sh
parentAnnotate `log_function` decorator (#10943) (diff)
parentMerge remote-tracking branch 'origin/develop' into shellcheck (diff)
downloadsynapse-a1ba7a850aaad51799ce77006ac5e8a425881765.tar.xz
Update scripts to pass Shellcheck lints (#11166)
Diffstat (limited to 'demo/stop.sh')
-rwxr-xr-xdemo/stop.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/stop.sh b/demo/stop.sh
index f9dddc5914..c97e4b8d00 100755
--- a/demo/stop.sh
+++ b/demo/stop.sh
@@ -8,7 +8,7 @@ for pid_file in $FILES; do
     pid=$(cat "$pid_file")
     if [[ $pid ]]; then
         echo "Killing $pid_file with $pid"
-        kill $pid
+        kill "$pid"
     fi
 done