aboutsummaryrefslogtreecommitdiffstats
path: root/add-webapp
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2020-07-25 14:48:01 +0200
committerOlav Vitters <olav@vitters.nl>2020-07-25 14:48:01 +0200
commit4fbff76ec099b7308c6afd4894788703af9d12cb (patch)
tree173454caf22c7c6c3e5938739bf0994d8a09011c /add-webapp
parent11633f7c15556a40017e33aeb6f73774d4fb9dfb (diff)
downloadrpm-helper-4fbff76ec099b7308c6afd4894788703af9d12cb.tar
rpm-helper-4fbff76ec099b7308c6afd4894788703af9d12cb.tar.gz
rpm-helper-4fbff76ec099b7308c6afd4894788703af9d12cb.tar.bz2
rpm-helper-4fbff76ec099b7308c6afd4894788703af9d12cb.tar.xz
rpm-helper-4fbff76ec099b7308c6afd4894788703af9d12cb.zip
add-webapp: ShellCheck: fix quoting issue
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