Skip to content

Commit

Permalink
update local host cache on update
Browse files Browse the repository at this point in the history
  • Loading branch information
wertarbyte committed Jan 8, 2010
1 parent 21baa35 commit 3c4aac5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hetzner-rdns.pl
Expand Up @@ -243,7 +243,10 @@ sub batch_process {
# read STDIN
while (<STDIN>) {
my ($i, $h) = split /\s+/;
set_host( $i, $h, $hosts );
if ( set_host( $i, $h, $hosts ) ) {
# change local cache on successful update
$hosts->{$i}{hostname} = $h;
}
}
}

Expand Down

0 comments on commit 3c4aac5

Please sign in to comment.