mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
prettier etc/NetworkManager-resolv.conf-restore.bash
This commit is contained in:
parent
f04733b799
commit
96d96479f7
@ -7,7 +7,7 @@ set -x
|
||||
|
||||
# I know there are old versions that used something else, but I don't remember
|
||||
# that name and they are ancient.
|
||||
if ! hash nmcli 2>/dev/null; then
|
||||
if ! hash nmcli 2> /dev/null; then
|
||||
echo "You don't seem to have NetworkManager (or nmcli) installed." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user