Skip to content

Commit

Permalink
Fix nems-restore crash bug on reconciler
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Nov 13, 2018
1 parent 3cbb6b9 commit 309d0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/reconcile-nagios.sh
Expand Up @@ -27,7 +27,7 @@ $confdest = $argv[3];
$backup = '/tmp/nems_migrator_restore' . $confsrc . '/' . $file['file']; $backup = '/tmp/nems_migrator_restore' . $confsrc . '/' . $file['file'];
if ($ver >= 1.5) { if ($ver >= 1.5) {
$default = '/root/nems/nems-migrator/data/1.5/nagios/conf/' . $file['file']; $default = '/root/nems/nems-migrator/data/1.5/nagios/conf/' . $file['file'];
if ($ver >= 1.4) { } else if ($ver >= 1.4) {
$default = '/root/nems/nems-migrator/data/1.4/nagios/conf/' . $file['file']; $default = '/root/nems/nems-migrator/data/1.4/nagios/conf/' . $file['file'];
} else { } else {
$default = '/root/nems/nems-migrator/data/nagios/conf/' . $file['file']; $default = '/root/nems/nems-migrator/data/nagios/conf/' . $file['file'];
Expand Down

0 comments on commit 309d0c9

Please sign in to comment.