summaryrefslogtreecommitdiff
path: root/bin/icli
diff options
context:
space:
mode:
authorDaniel Friesel <derf@chaosdorf.de>2016-08-12 15:41:51 +0200
committerGitHub <noreply@github.com>2016-08-12 15:41:51 +0200
commitde64016688f5f8be55af01663e0e005d405721f1 (patch)
treeadbf641cca777cd31b3471f6464e4365b72dd63a /bin/icli
parentc8f711e9eca894379de0690c3070355ca33b823d (diff)
parent45d43ad3f6269c0d9ed3e7725e179b8e00d35682 (diff)
Merge pull request #18 from dud225/patch-1
End commandline with a newline
Diffstat (limited to 'bin/icli')
-rwxr-xr-xbin/icli2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/icli b/bin/icli
index 6e2f95d..d3859df 100755
--- a/bin/icli
+++ b/bin/icli
@@ -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"