mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-08-16 20:00:36 +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
|
||||
wget "\$1" -O-
|
||||
else
|
||||
echo "no downloader (curl or wget) found, bailing out"
|
||||
echo "no downloader (curl or wget) found, bailing out" >&2
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user