Use return.
This commit is contained in:
1 parent
2a0c7360f0
commit
2d834f3f61
1 file changed
+4
@@ -38,6 +38,8 @@ sub dbug
|
|||||||
# We're in debug mode; print it out.
|
# We're in debug mode; print it out.
|
||||||
println $out;
|
println $out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Log to file.
|
# Log to file.
|
||||||
@@ -101,6 +103,8 @@ sub expire_logs
|
|||||||
system("rm $Auto::Bin/../var/$file");
|
system("rm $Auto::Bin/../var/$file");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
Reference in new issue
Block a user