mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-04-24 07:27:07 +08:00
bug fix (Thu Jan 5 22:59:33 CST 2023)
This commit is contained in:
parent
d628b90fa9
commit
2e0fd9fa96
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user