Module: check_mk
Branch: master
Commit: 129cde5d1b169fa2b83e10d9d1593ce8743b286d
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=129cde5d1b169f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jul 20 15:26:31 2016 +0200
mkbackup: Fixed loading of backup info files
---
bin/mkbackup | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/mkbackup b/bin/mkbackup
index fcb13c6..c705f80 100755
--- a/bin/mkbackup
+++ b/bin/mkbackup
@@ -264,7 +264,7 @@ def load_config():
# TODO: Duplicate code with htdocs/backup.py
def load_backup_info(path):
- info = eval(file(path).read())
+ info = json.load(file(path))
# Load the backup_id from the second right path component. This is the
# base directory of the mkbackup.info file. The user might have moved