32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
From 8c1773e0cbcd826a1f31e48ae57855c90df64396 Mon Sep 17 00:00:00 2001
|
|
From: Dalibor Pospisil <dapospis@redhat.com>
|
|
Date: Tue, 1 Jul 2014 14:24:37 +0200
|
|
Subject: [PATCH 14/14] supress storage data in non-debug mode
|
|
|
|
---
|
|
src/infrastructure.sh | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/infrastructure.sh b/src/infrastructure.sh
|
|
index ac2b990..f57a2e4 100644
|
|
--- a/src/infrastructure.sh
|
|
+++ b/src/infrastructure.sh
|
|
@@ -491,10 +491,13 @@ __INTERNAL_FILEBACKUP_SET_PATH_CLEAN() {
|
|
if [ -z "$CURRENT" ]
|
|
then
|
|
__INTERNAL_ST_PUT --namespace="$__INTERNAL_FILEBACKUP_NAMESPACE" $namespace_encoded $path_encoded
|
|
- cat "$BEAKERLIB_DIR/storage/$__INTERNAL_FILEBACKUP_NAMESPACE"
|
|
else
|
|
__INTERNAL_ST_PUT --namespace="$__INTERNAL_FILEBACKUP_NAMESPACE" $namespace_encoded "$CURRENT $path_encoded"
|
|
fi
|
|
+ [[ -n "$DEBUG" ]] && {
|
|
+ rlLogDebug "stored data:"
|
|
+ cat "$BEAKERLIB_DIR/storage/$__INTERNAL_FILEBACKUP_NAMESPACE"
|
|
+ }
|
|
}
|
|
|
|
__INTERNAL_FILEBACKUP_CLEAN_PATHS() {
|
|
--
|
|
1.9.3
|
|
|