Skip to content

Commit

Permalink
Minor change to not write args in --help mode.
Browse files Browse the repository at this point in the history
Minor update to exclude 'fwsnort --help' from the saved command line arguments
copy.  This ensures that 'fwsnort --Last' does not just re-execute
'fwsnort --help'.
  • Loading branch information
mrash committed Jul 15, 2011
1 parent 7d1a5d6 commit 24aa16d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fwsnort
Expand Up @@ -3536,10 +3536,10 @@ sub handle_cmd_line() {

&get_homedir();

&save_args() unless $run_last;

&usage(0) if $help;

&save_args() unless $run_last;

### Print the version number and exit if -V given on the command line.
if ($print_ver) {
print "[+] fwsnort v$version by Michael Rash <mbr\@cipherdyne.org>\n";
Expand Down

0 comments on commit 24aa16d

Please sign in to comment.