Correctly line terminate project names written to fifo
authorDaniel Knittl-Frank <knittl89+git@googlemail.com>
Wed, 7 Mar 2012 14:29:27 +0000 (7 15:29 +0100)
committerDaniel Knittl-Frank <knittl89+git@googlemail.com>
Wed, 7 Mar 2012 14:29:42 +0000 (7 15:29 +0100)
Girocco/ProjPerm.pm

index 1a80254..bc6f78f 100644 (file)
@@ -58,7 +58,7 @@ sub perm_initialize {
 
        # tell fixupd about the new project
        open(my $fifo, '>'.$Girocco::Config::fixup_queue) or die "Opening fifo failed: $!";
-       print $fifo $proj->{name};
+       print $fifo $proj->{name}, "\n";
        close $fifo;
 
        1;