Skip to content

Commit

Permalink
lxc-openmandriva: protect possibly unset variable with quotes in -z c…
Browse files Browse the repository at this point in the history
…heck

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
  • Loading branch information
obnoxxx authored and stgraber committed Jan 30, 2015
1 parent c9abed3 commit e182043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/lxc-openmandriva.in
Expand Up @@ -483,7 +483,7 @@ if [ $? -ne 0 ]; then
exit 1
fi

if [ ! -z $clean ]; then
if [ ! -z "$clean" ]; then
clean || exit 1
exit 0
fi
Expand Down

0 comments on commit e182043

Please sign in to comment.