Merge branch 'daemon-qwfix' into 'dev'

Return in case caller needs to process further.

See merge request zot/zap!9
This commit is contained in:
Zot 2019-08-20 04:45:23 +02:00
commit 05b316c406
5 changed files with 8 additions and 8 deletions

View file

@ -193,7 +193,7 @@ class Cron {
$restart = true;
$generation = intval($argv[2]);
if(! $generation)
killme();
return;
}
reload_plugins();

View file

@ -13,7 +13,7 @@ class CurlAuth {
static public function run($argc,$argv) {
if($argc != 2)
killme();
return;
\App::$session->start();
@ -50,6 +50,6 @@ class CurlAuth {
file_put_contents($c,$x);
killme();
return;
}
}
}

View file

@ -13,11 +13,11 @@ class Delxitems {
cli_startup();
if($argc != 3) {
killme();
return;
}
remove_abook_items($argv[1],$argv[2]);
killme();
return;
}
}

View file

@ -10,7 +10,7 @@ if(array_search( __file__ , get_included_files()) === 0) {
if($argc)
Master::Release($argc,$argv);
killme();
return;
}

View file

@ -47,7 +47,7 @@ class Poller {
$restart = true;
$generation = intval($argv[2]);
if(! $generation)
killme();
return;
}
if(($argc > 1) && intval($argv[1])) {