Commit cfd001ac authored by Martin Klimeš's avatar Martin Klimeš
Browse files

cron: fix warn message

parent 9f2e4fa8
......@@ -32,8 +32,10 @@ for my $item (@files) {
for my $printer (@files) {
system("$REPO/ --update $printer")
or warn "Error while updating $printer";
system("$REPO/ --update $printer");
if ($? != 0) {
warn "Error while updating $printer";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment