aboutsummaryrefslogtreecommitdiffstats
path: root/del-webapp
diff options
context:
space:
mode:
Diffstat (limited to 'del-webapp')
-rwxr-xr-xdel-webapp2
1 files changed, 1 insertions, 1 deletions
diff --git a/del-webapp b/del-webapp
index ec407a8..c51ed5e 100755
--- a/del-webapp
+++ b/del-webapp
@@ -8,7 +8,7 @@ fi
pkg=$1 # name of the package
num=$2 # number of packages installed
-if [ $num = 0 ]; then
+if [ "$num" = 0 ]; then
# in simultaneous removal scenario, web server may
# already have been removed
if [ -f /etc/init.d/httpd ]; then