PVE::ReplicationTools::update_conf - correctly catch exception
This commit is contained in:
@ -516,6 +516,8 @@ sub update_conf {
|
|||||||
};
|
};
|
||||||
|
|
||||||
PVE::Tools::lock_file_full($STATE_PATH, 60, 0 , $update);
|
PVE::Tools::lock_file_full($STATE_PATH, 60, 0 , $update);
|
||||||
|
die $@ if $@;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|||||||
Reference in New Issue
Block a user