35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From e42f31656c381ca04ad9875bb9432b677c1486ba Mon Sep 17 00:00:00 2001
|
|
From: Dalibor Pospisil <dapospis@redhat.com>
|
|
Date: Fri, 20 Jun 2014 09:54:27 +0200
|
|
Subject: [PATCH 09/14] stored namespace (key) cannot be empty
|
|
|
|
---
|
|
src/infrastructure.sh | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/infrastructure.sh b/src/infrastructure.sh
|
|
index b821f10..ac2b990 100644
|
|
--- a/src/infrastructure.sh
|
|
+++ b/src/infrastructure.sh
|
|
@@ -480,7 +480,7 @@ __INTERNAL_FILEBACKUP_SET_PATH_CLEAN() {
|
|
local path="$1"
|
|
local path_encoded="$( rlHash -a hex "$path" )"
|
|
|
|
- local namespace="$2"
|
|
+ local namespace="_$2"
|
|
local namespace_encoded="$( rlHash -a hex "$namespace" )"
|
|
|
|
rlLogDebug "rlFileBackup: Setting up the cleaning lists"
|
|
@@ -498,7 +498,7 @@ __INTERNAL_FILEBACKUP_SET_PATH_CLEAN() {
|
|
}
|
|
|
|
__INTERNAL_FILEBACKUP_CLEAN_PATHS() {
|
|
- local namespace="$1"
|
|
+ local namespace="_$1"
|
|
local namespace_encoded="$( rlHash -a hex "$namespace" )"
|
|
|
|
rlLogDebug "rlFileRestore: Fetching clean-up lists for namespace: [$namespace] (encoded as [$namespace_encoded])"
|
|
--
|
|
1.9.3
|
|
|