Fix setup output path

This commit is contained in:
Jamie Cameron
2022-03-28 23:05:09 -07:00
parent 9fb000e9c6
commit 5201cbe0e6

View File

@@ -322,7 +322,7 @@ tempdir=/tmp/.webmin
if [ ! -d \$tempdir ]; then
tempdir=/tmp
fi
./setup.sh >$tempdir/$product-setup.out 2>&1
./setup.sh >\$tempdir/$product-setup.out 2>&1
if [ "$product" = "webmin" ]; then
grep sudo= /etc/$product/miniserv.conf >/dev/null 2>&1
if [ "\$?" = 1 ]; then