diff options
author | Hervé <dud225@users.noreply.github.com> | 2016-08-12 14:59:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-12 14:59:59 +0200 |
commit | 45d43ad3f6269c0d9ed3e7725e179b8e00d35682 (patch) | |
tree | adbf641cca777cd31b3471f6464e4365b72dd63a /bin/icli | |
parent | c8f711e9eca894379de0690c3070355ca33b823d (diff) |
End commandline with a newline
Due to a [recent change](https://github.com/Icinga/icinga2/commit/0a6505ce2d778d46863345ad7b457cbe911a3176#diff-41f5f9b62fd89e63b82e66bbe76c0e73R121) in Icinga, commands passed through the external command listener are read by _readline_ so that's mean they have to be ended by a newline.
Diffstat (limited to 'bin/icli')
-rwxr-xr-x | bin/icli | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1195,7 +1195,7 @@ sub display_overview { } sub dispatch_command { - my $str = join( ';', @_ ); + my $str = join( ';', @_ ) . "\n"; open( my $cmd_fh, '>', $rw_file ) or die( "Failed to open icinga command file ($rw_file): $!\n" |