added missing quotes around variables

This commit is contained in:
root 2017-02-24 19:49:14 +00:00
parent 83bf70e67a
commit 8043247fe3
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
# command="/home/automation/chch-power/shell.sh",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAA...
COMMAND_FILE=/tmp/command
if [ ! -p $COMMAND_FILE ]; then
if [ ! -p "$COMMAND_FILE" ]; then
echo "ERROR; command watcher not listening:" >&2
exit 1
fi