1
0
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:
Tino Vazquez 2012-06-19 18:47:43 +02:00
parent 3f165a380f
commit 14aaab3c0d

View File

@ -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