X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fexiqgrep.src;h=afecbffeec250e8183f2eaed80cecf0957fa1fa5;hb=3d1451ea26e96e63a22d96a08dcfe2e80701c75c;hp=94b17f58bbcf2b999591167178446727f06f4a43;hpb=d502442ac32f8964f6cf86469869cecb035d12c0;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/exiqgrep.src b/src/src/exiqgrep.src index 94b17f58b..afecbffee 100644 --- a/src/src/exiqgrep.src +++ b/src/src/exiqgrep.src @@ -46,7 +46,7 @@ if ($^O eq 'darwin') { # aka MacOS X getopts('hf:r:y:o:s:C:zxlibRca',\%opt); if ($opt{h}) { &help; exit;} if ($opt{a}) { $eargs = '-bp'; } -if ($opt{C}) { $eargs .= ' -C '.$opt{C}; } +if ($opt{C} && -e $opt{C} && -f $opt{C} && -R $opt{C}) { $eargs .= ' -C '.$opt{C}; } # Read message queue output into hash &collect();