mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-08 21:16:39 +09:00
Change ls -> sudo comprobation
This commit is contained in:
1 parent
3f165a380f
commit
14aaab3c0d
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user