next #1
1 changed files with 1 additions and 1 deletions
2
sync.sh
2
sync.sh
|
@ -7,7 +7,7 @@ osreleaseprop() {
|
||||||
elevated() {
|
elevated() {
|
||||||
s=${SUDO:-sudo}
|
s=${SUDO:-sudo}
|
||||||
if [ ! "$s" = "none" ]; then
|
if [ ! "$s" = "none" ]; then
|
||||||
if ! which $s &> /dev/null; then
|
if ! command -v $s &> /dev/null; then
|
||||||
echo "command \"$s\" not found"
|
echo "command \"$s\" not found"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue