Skip to content

Commit

Permalink
Code change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stewart Bryson committed Jan 10, 2014
1 parent e679024 commit a2843f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions obi/perl/manage_rpd.pl
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@

# deploy the RPD
# only deploy the rpd if -d is supplied
if ($options->{d}) {
if ($options->{d} && $input) {
DeployRpd( $output?$output:$input );
}

Expand All @@ -193,7 +193,7 @@

if ($options->{r} && $options->{d}) {

unlink $output;
unlink $output if $output;

}

Expand Down

0 comments on commit a2843f6

Please sign in to comment.