2
0
forked from Wavyzz/dolibarr

exit code must be >= 0 (#35311)

This commit is contained in:
Eric - CAP-REL
2025-09-12 02:29:23 +02:00
committed by GitHub
parent a0116f6cd8
commit 1f8b5db2c7
25 changed files with 51 additions and 51 deletions

View File

@@ -71,12 +71,12 @@ if (empty($mode) || ! in_array($mode, array('test','confirm','confirmforced')) |
print "Usage: $script_file (test|confirm|confirmforced) filepath.csv [startlinenb] [endlinenb]\n";
print "Usage: $script_file test myfilepath.csv 2 1002\n";
print "\n";
exit(-1);
exit(1);
}
if (! file_exists($filepath)) {
print "Error: File ".$filepath." not found.\n";
print "\n";
exit(-1);
exit(1);
}
$ret=$user->fetch('', 'admin');