Blob Blame History Raw
From a8080d22f4d8c2c47781620078dca6d47f5439e9 Mon Sep 17 00:00:00 2001
From: Jakub Heger <jheger@redhat.com>
Date: Fri, 31 May 2019 13:11:39 +0200
Subject: [PATCH 5/8] logging.sh: fix __INTERNAL_FileSubmit argument

recently arguments were removed when calling __INTERNAL_FileSubmit
however the function used positional arguments which were now shifted
---
 src/logging.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/logging.sh b/src/logging.sh
index 79df02b..22c34b8 100644
--- a/src/logging.sh
+++ b/src/logging.sh
@@ -137,7 +137,7 @@ __INTERNAL_LogText() {
 }
 
 __INTERNAL_FileSubmit() {
-    local FILENAME="$4"
+    local FILENAME="$2"
     local STORENAME="$__INTERNAL_PERSISTENT_TMP/BEAKERLIB_${TESTID}_STORED_$(basename $FILENAME)"
     if [ -z "$TESTID" ]
     then
-- 
2.21.0