mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Fix bug 6392: Exit log2pcaphex if a requested output file can't be opened
Thanks to Slava Semushin <php-coder@altlinux.org> for reporting!
This commit is contained in:
parent
fcc7372975
commit
c8d63d47cd
@ -337,6 +337,7 @@ int main (int argc, char **argv)
|
||||
if(!out) {
|
||||
perror("fopen");
|
||||
fprintf(stderr, "Can't find %s, using stdout...\n", outfile);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user