Handle correct script exit code
This commit is contained in:
parent
cd0d9abea8
commit
c5f9f7fcc4
1 changed files with 2 additions and 0 deletions
|
@ -289,3 +289,5 @@ $result = $export -> export_user_contacts(
|
|||
|
||||
if ($out)
|
||||
fclose($out);
|
||||
|
||||
exit($result?0:1);
|
||||
|
|
Loading…
Reference in a new issue