mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-23 10:03:27 +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]
|
||||
for path in paths:
|
||||
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
|
||||
except KeyError:
|
||||
logger.error("No backup source path given.")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue