Changeset 868
- Timestamp:
- 12/09/07 11:58:23 (1 year ago)
- Files:
-
- fwknop/trunk/fwknop (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
fwknop/trunk/fwknop
r867 r868 1327 1327 1328 1328 sub run_last_host_cmdline() { 1329 my $hosts_file = "$homedir/.fwknop.hosts";1330 1329 1331 1330 my $found_file = 0; 1332 1331 my $found_host = 0; 1333 for my $ file ("$homedir/.fwknop.save", "$homedir/.fwknop.hosts") {1334 next unless -e $ file;1332 for my $save_file ("$homedir/.fwknop.save", "$homedir/.fwknop.hosts") { 1333 next unless -e $save_file; 1335 1334 $found_file = 1; 1336 1335 1337 1336 my $arg_line = ''; 1338 open H, "< $ hosts_file" or die "[*] Could not open $hosts_file: $!";1337 open H, "< $save_file" or die "[*] Could not open $save_file: $!"; 1339 1338 while (<H>) { 1340 1339 if (/-(k|D)\S*\s+$run_last_host/) {
