aboutsummaryrefslogtreecommitdiffstats
path: root/add-webapp
diff options
context:
space:
mode:
Diffstat (limited to 'add-webapp')
-rwxr-xr-xadd-webapp2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-webapp b/add-webapp
index 6468280..5d00635 100755
--- a/add-webapp
+++ b/add-webapp
@@ -8,7 +8,7 @@ fi
pkg=$1 # name of the package
num=$2 # number of packages installed
-if [ $num = 1 ]; then
+if [ "$num" = 1 ]; then
# installation: restart web server if running,
# as there is a new configuration file
/sbin/service httpd condrestart