mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-09-11 16:45:28 +03:00
if no downloader is found, print proper error message.
This commit is contained in:
parent
d9b5dac3a2
commit
63bb08e6a3
@ -158,7 +158,7 @@ fetch(){
|
|||||||
elif command -v wget >/dev/null 2>&1; then
|
elif command -v wget >/dev/null 2>&1; then
|
||||||
wget "\$1" -O-
|
wget "\$1" -O-
|
||||||
else
|
else
|
||||||
echo "no downloader (curl or wget) found, bailing out"
|
echo "no downloader (curl or wget) found, bailing out" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user