Skip to content

Commit

Permalink
Drop newline in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Aug 7, 2015
1 parent 3b0f60e commit 984c5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/nix-channel.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 984c5cd

Please sign in to comment.