diff --git a/Shorewall/uninstall.sh b/Shorewall/uninstall.sh index cc2cad67e..e64a388fb 100755 --- a/Shorewall/uninstall.sh +++ b/Shorewall/uninstall.sh @@ -145,8 +145,7 @@ done rm -f ${CONFDIR}/logrotate.d/shorewall -if [ -n "$SYSTEMD" ]; THEN -rm -f ${SYSTEMD}/shorewall.service +[ -n "$SYSTEMD" ] && rm -f ${SYSTEMD}/shorewall.service echo "Shorewall Uninstalled"