From 9b7e14d7816948ed71c1ab13d7fe2be9a5fc5817 Mon Sep 17 00:00:00 2001 From: Ilia Date: Fri, 22 Apr 2022 23:44:20 +0300 Subject: [PATCH] No need to store variable --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index a899c742c..414cb247c 100755 --- a/setup.sh +++ b/setup.sh @@ -608,7 +608,7 @@ currprod=`grep "^product=" /etc/webmin/config | sed -e 's/product=//g'` # Test if transitioning from init.d to systemd, and # re-enable service afterwards if was enabled before if [ "$upgrading" = 1 ] && [ ! -f "$config_dir/stop-init" ]; then - upgatboot=`(cd "$wadir/init" ; WEBMIN_CONFIG=$config_dir WEBMIN_VAR=$var_dir "$wadir/init/isboot.pl")` + (cd "$wadir/init" ; WEBMIN_CONFIG=$config_dir WEBMIN_VAR=$var_dir "$wadir/init/isboot.pl") fi # Return back to root