A free open source IT asset/license management system
Fix some weird bash issues caused when merging the v2 and v3 versions of the script.
Daniel Meltzer0da1e186d765
diff --git a/snipeit.sh b/snipeit.shindex c72906f226..4721badd53 100755--- a/snipeit.sh+++ b/snipeit.sh@@ -342,7 +342,7 @@ case $distro inservice apache2 restart;;centos )- if [ "$version" == "6" ];+ if [ "$version" == "6" ]; then##################################### Install for Centos/Redhat 6 ##############################################webdir=/var/www/html@@ -467,7 +467,6 @@ case $distro in# firewall-cmd --reloadservice httpd restart- ;;elif [ "$version" == "7" ]; then##################################### Install for Centos/Redhat 7 ##############################################@@ -586,8 +585,7 @@ case $distro in# firewall-cmd --reloadsystemctl restart httpd.service- ;;-+elseecho "Unable to Handle Centos Version #. Version Found: " $versionreturn 1