mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-23 18:09:20 +08:00
Make error message more obvious
This commit is contained in:
parent
b711e52c5f
commit
0a549a8ae1
1 changed files with 1 additions and 1 deletions
|
|
@ -399,7 +399,7 @@ class NPBackupRunner:
|
||||||
paths = [paths]
|
paths = [paths]
|
||||||
for path in paths:
|
for path in paths:
|
||||||
if path == self.config_dict["repo"]["repository"]:
|
if path == self.config_dict["repo"]["repository"]:
|
||||||
logger.critical("Rayan error 40: You cannot backup destination in destination path. No inception allowed !")
|
logger.critical("You cannot backup source into it's own path. No inception allowed !")
|
||||||
return False
|
return False
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logger.error("No backup source path given.")
|
logger.error("No backup source path given.")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue