diff options
author | 2020-02-07 05:16:42 +0530 | |
---|---|---|
committer | 2020-02-07 05:16:42 +0530 | |
commit | d89c7ddce000de3de8c6216877e2ad94d63e36d1 (patch) | |
tree | 72ef7563b5e30b5af38daeb410487f45a594fccf | |
parent | 'config' user command needs to allow for space-separated config values (diff) | |
download | gitolite-gentoo-d89c7ddce000de3de8c6216877e2ad94d63e36d1.tar.gz gitolite-gentoo-d89c7ddce000de3de8c6216877e2ad94d63e36d1.tar.bz2 gitolite-gentoo-d89c7ddce000de3de8c6216877e2ad94d63e36d1.zip |
propagate *all* ssh-keygen errors
-rw-r--r-- | src/lib/Gitolite/Common.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Gitolite/Common.pm b/src/lib/Gitolite/Common.pm index af9c875..b06f967 100644 --- a/src/lib/Gitolite/Common.pm +++ b/src/lib/Gitolite/Common.pm @@ -361,7 +361,7 @@ sub ssh_fingerprint_file { my $in = shift; -f $in or die "file not found: $in\n"; my $fh; - open( $fh, "ssh-keygen -l -f $in |" ) or die "could not fork: $!\n"; + open( $fh, "ssh-keygen -l -f $in 2>&1 |" ) or die "could not fork: $!\n"; my $output = <$fh>; chomp $output; # dbg("fp = $fp"); |