bug fix (Thu Jan 5 22:59:33 CST 2023)

This commit is contained in:
xiongdian.me 2023-01-05 22:59:33 +08:00
parent d628b90fa9
commit 2e0fd9fa96

View File

@ -32,7 +32,7 @@ while [[ $# > 0 || -n "$ARG" ]]; do
done
# install
if command -v su 1>/dev/null || test -n "$DFS_USER"; then
if command -v su 1>/dev/null && test -n "$DFS_USER"; then
SUCMD="su $DFS_USER"
else
SUCMD="bash"