diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-08-07 05:32:17 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-08-07 05:32:17 +0200 |
commit | 984c5cdc5044c8e638917b43565df0d3b4a33ff0 (patch) | |
tree | 34816a05eeb1ed557f248c2b3f57b0e590115b19 | |
parent | 3b0f60e5c2a1a573bec46740982b48ca32b835c4 (diff) |
Drop newline in error message
-rwxr-xr-x | scripts/nix-channel.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-channel.in b/scripts/nix-channel.in index 05716645a..5191b5855 100755 --- a/scripts/nix-channel.in +++ b/scripts/nix-channel.in @@ -105,8 +105,8 @@ sub update { my $tmpdir = tempdir( CLEANUP => 1 ); my $filename; ($url, $filename) = `cd $tmpdir && $Nix::Config::curl --silent --write-out '%{url_effective}\n%{filename_effective}' -L '$url' -O`; - die "$0: unable to check ‘$url’\n" if $? != 0; chomp $url; + die "$0: unable to check ‘$url’\n" if $? != 0; # If the URL contains a version number, append it to the name # attribute (so that "nix-env -q" on the channels profile |