1
0
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:
Volker Lendecke 2009-06-05 10:07:17 +02:00
parent fcc7372975
commit c8d63d47cd

View File

@ -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;
}
}