mirror of
https://git.coolaj86.com/coolaj86/telebit.js.git
synced 2025-04-22 03:50:37 +00:00
fix conditional
This commit is contained in:
parent
f19b162910
commit
0ba0d7d087
@ -51,7 +51,7 @@ read_cmd="read -u 3"
|
|||||||
# TODO detect if rsync is available and use rsync -a (more portable)
|
# TODO detect if rsync is available and use rsync -a (more portable)
|
||||||
rsync_cmd="cp -pPR"
|
rsync_cmd="cp -pPR"
|
||||||
|
|
||||||
if [ "root" == $(whoami) || 0 == $(id -u) ]; then
|
if [ "root" == $(whoami) ] || [ 0 == $(id -u) ]; then
|
||||||
sudo_cmd=" "
|
sudo_cmd=" "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user