summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:32 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:32 +0200
commit4257992da317b5e641d6743b3efa1fadb546f33c (patch)
treed904a1f1661adb158d62fce24a2b7e2e60936165
parentf4607b245556213eba320bb5e82262acf7967955 (diff)
wm-request: fix unset-var error
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rwxr-xr-xscripts/wm-request2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/wm-request b/scripts/wm-request
index c8ab188..f9244ab 100755
--- a/scripts/wm-request
+++ b/scripts/wm-request
@@ -48,9 +48,11 @@ then
fi
UUID="`cat $UUIDFILE`"
+set +u
args=
if [ "$1" ]
then
+ set -u
args='{"drawing_name":"'"$1"'"}'
shift
fi