Update msg
This commit is contained in:
parent
53e397ded8
commit
20d22fd8aa
|
@ -101,7 +101,7 @@ loopThroughFiles() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
password=$(displayDialogBox --passwordbox "\nEnter your password." VALUES 3>&1 1>&2 2>&3)
|
password=$(displayDialogBox --passwordbox "\nEnter your (sudo) password." VALUES 3>&1 1>&2 2>&3)
|
||||||
echo "$password" | sudo -S bash -c "" > /dev/null 2>&1
|
echo "$password" | sudo -S bash -c "" > /dev/null 2>&1
|
||||||
cmd="$(declare -f runDetachedScript); $(declare -f linkFile); runDetachedScript getDialogBox ${files[*]}"
|
cmd="$(declare -f runDetachedScript); $(declare -f linkFile); runDetachedScript getDialogBox ${files[*]}"
|
||||||
echo "$password" | sudo -S bash -c "$cmd"
|
echo "$password" | sudo -S bash -c "$cmd"
|
||||||
|
|
Loading…
Reference in New Issue