diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/gnunet-logread | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gnunet-logread b/contrib/gnunet-logread index 773a5ff93..173ed2387 100755 --- a/contrib/gnunet-logread +++ b/contrib/gnunet-logread | |||
@@ -47,7 +47,7 @@ if (exists $opts{n}) | |||
47 | $ipc = $opts{i} || '/tmp/gnunet-logread-ipc.sock'; | 47 | $ipc = $opts{i} || '/tmp/gnunet-logread-ipc.sock'; |
48 | $msg_level = exists $levels{$opts{L}} ? $levels{$opts{L}} : 0; | 48 | $msg_level = exists $levels{$opts{L}} ? $levels{$opts{L}} : 0; |
49 | $msg_regex = $opts{m}; | 49 | $msg_regex = $opts{m}; |
50 | print STDERR "RE: /$msg_regex/\n"; | 50 | print STDERR "RE: /$msg_regex/\n" if defined $msg_regex; |
51 | open IPC, '>', $ipc or die "$ipc: $!\n"; | 51 | open IPC, '>', $ipc or die "$ipc: $!\n"; |
52 | } | 52 | } |
53 | 53 | ||