summaryrefslogtreecommitdiff
path: root/bin/ssh-forcecommand
diff options
context:
space:
mode:
authorMaximilian Gass <mxey@ghosthacking.net>2011-05-23 08:06:05 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-23 09:53:57 +0200
commitdb66ad9caafbb4c5dfd07444ec417f7ed73560af (patch)
tree0c37b5ffd3b07298d8ae1991ab0a02df5fe359f4 /bin/ssh-forcecommand
parent19ff7fc150470d923b7f95fc09316e594f4c3bdc (diff)
Mention command name in missing command error message
Conflicts: bin/ssh-forcecommand
Diffstat (limited to 'bin/ssh-forcecommand')
-rwxr-xr-xbin/ssh-forcecommand2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ssh-forcecommand b/bin/ssh-forcecommand
index c216658..5fb5068 100755
--- a/bin/ssh-forcecommand
+++ b/bin/ssh-forcecommand
@@ -20,7 +20,7 @@ while ( my $line = <$conf> ) {
close($conf) or die("Cannot close $conffile: $!\n");
if ( not $command{$origcmd} ) {
- die("Unknown command\n");
+ die("Unknown command: $origcmd\n");
}
exec( $command{$origcmd} );