mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-22 22:03:39 +03:00
Change ls -> sudo comprobation
This commit is contained in:
parent
3f165a380f
commit
14aaab3c0d
@ -59,7 +59,7 @@ log "Cloning $SRC_PATH in $DST"
|
||||
CLONESCRIPT=$(cat <<EOF
|
||||
cd $DST_DIR
|
||||
|
||||
if which ls > /dev/null; then
|
||||
if which sudo > /dev/null; then
|
||||
SUDO_CMD="sudo "
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user