Skip to content

Commit

Permalink
reorder cases
Browse files Browse the repository at this point in the history
  • Loading branch information
guillomovitch committed Sep 21, 2012
1 parent 69e94a3 commit 8528a35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fusioninventory-injector
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ GetOptions(
$OUTPUT_AUTOFLUSH = 1;
pod2usage(-verbose => 0, -exitstatus => 0) if $options{help};

if ($options{file}) {
loadfile($options{file});
} elsif ($options{stdin}) {
if ($options{stdin}) {
loadstdin();
} elsif ($options{file}) {
loadfile($options{file});
} elsif ($options{directory}) {
loaddirectory($options{directory});
} else {
Expand Down

0 comments on commit 8528a35

Please sign in to comment.