From 17d4b22b9f0c10c9de52c132f4a38ca29b07a90d Mon Sep 17 00:00:00 2001 From: Douglas RAILLARD Date: Tue, 29 Jan 2019 15:13:20 +0000 Subject: [PATCH] shutils: Fix read_tree_tgz_b64 on empty folder Hide tar stderr output, so it does not get mixed with the base64 stream in case the folder we are tarring is empty. --- devlib/bin/scripts/shutils.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/bin/scripts/shutils.in b/devlib/bin/scripts/shutils.in index 37991a7..e230229 100755 --- a/devlib/bin/scripts/shutils.in +++ b/devlib/bin/scripts/shutils.in @@ -276,7 +276,7 @@ read_tree_tgz_b64() { done cd $TMP_FOLDER - $BUSYBOX tar cz * | $BUSYBOX base64 + $BUSYBOX tar cz * 2>/dev/null | $BUSYBOX base64 # Clean-up the tmp folder since we won't need it any more cd $TMPBASE