Better output
This commit is contained in:
parent
f2c4618f5b
commit
fe5ad9f4af
|
@ -167,7 +167,7 @@ update-system() {
|
||||||
read -sep "Password: " password
|
read -sep "Password: " password
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $password | sudo -Sp "" true
|
echo $password | sudo -Sp "" true > /dev/null 2>&1
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Could not get sudo..."
|
echo "Could not get sudo..."
|
||||||
|
|
Loading…
Reference in New Issue