Skip to content

Commit

Permalink
Merge pull request RexOps#1144 from ddico/patch-1
Browse files Browse the repository at this point in the history
Use fail_ok in cron
  • Loading branch information
krimdomu authored Jul 14, 2017
2 parents 5692634 + d836df3 commit c6ba2f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Rex/Cron/Base.pm
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ sub read_user_cron {
$command .= " -u $user" if defined $user;
$command .= ' 2> /dev/null';

my @lines = i_run $command;
my @lines = i_run $command, fail_ok => 1;
$self->parse_cron(@lines);
}

Expand Down

0 comments on commit c6ba2f8

Please sign in to comment.