use direct comparaison

master
Heuzef 5 years ago
parent c39e383a2c
commit b53cd19320
  1. 6
      backuppc_check.pl

@ -112,11 +112,11 @@ print("\ntoobig : $toobig\n");
print("\ntoosmall : $toosmall\n");
# Print result
if ( $toobig == "0" && $toosmall == "0" ) {
print("Normal");
if ( $toobig or $toosmall ) {
print("ANOMALOUS");
}
else {
print("ANOMALOUS");
print("Normal");
}
print("\n");
print("Random file : ..........");

Loading…
Cancel
Save