diff options
-rwxr-xr-x | bin/ssh-forcecommand | 2 | ||||
-rw-r--r-- | t/60-regression.t | 2 |
2 files changed, 2 insertions, 2 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} ); diff --git a/t/60-regression.t b/t/60-regression.t index 828c127..e3b3476 100644 --- a/t/60-regression.t +++ b/t/60-regression.t @@ -35,7 +35,7 @@ test_fc( test_fc( in => 'invalid', ret => 1, - err => 'Unknown command', + err => 'Unknown command: invalid', ); test_fc( |