mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Added master and release update-channels
This commit is contained in:
@@ -35,7 +35,17 @@ The ' . $config['project_name'] . ' team.';
|
||||
exit(2);
|
||||
}
|
||||
else {
|
||||
exit((int) $config['update']);
|
||||
if ($config['update']) {
|
||||
if ($config['update_channel'] == 'master') {
|
||||
exit(1);
|
||||
}
|
||||
elseif ($config['update_channel'] == 'release') {
|
||||
exit(3);
|
||||
}
|
||||
}
|
||||
else {
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user