Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2010-06-08 09:09:19 (GMT)
committer Michael Stone <michael@laptop.org>2010-06-12 20:42:16 (GMT)
commitd4fe57f377d8f78f02a9e5f6d9c201b4e9eb86f4 (patch)
tree8f37abc0e88f98d01ee13af7c7838dcdc86ebf42
parentc4b15c70fb6426af6e147666986a131736b01f78 (diff)
Quote arguments in rainbow-resume
Without this, special characters in parameters (e.g. spaces) will be interpreted by the shell.
-rwxr-xr-xrainbow/bin/rainbow-resume2
1 files changed, 1 insertions, 1 deletions
diff --git a/rainbow/bin/rainbow-resume b/rainbow/bin/rainbow-resume
index b9bb055..2af756f 100755
--- a/rainbow/bin/rainbow-resume
+++ b/rainbow/bin/rainbow-resume
@@ -23,4 +23,4 @@ for kv in env:
EOF`
fi
-exec rainbow-run -s /var/spool/rainbow/2 -u "$SUDO_USER" -c "`pwd`" -f 0 -f 1 -f 2 -E "DISPLAY=$DISPLAY" -E "XAUTHORITY=$XAUTHORITY" -a /usr/bin/rainbow-xify -o audio -o network -r "$RESUME_UID" -- $@
+exec rainbow-run -s /var/spool/rainbow/2 -u "$SUDO_USER" -c "`pwd`" -f 0 -f 1 -f 2 -E "DISPLAY=$DISPLAY" -E "XAUTHORITY=$XAUTHORITY" -a /usr/bin/rainbow-xify -o audio -o network -r "$RESUME_UID" -- "$@"