From e45a740f80d209d684c57a576e5ae53206b06d64 Mon Sep 17 00:00:00 2001
From: "arthur.yueh" <arthur.yueh@oneplus.com>
Date: Wed, 26 Feb 2020 11:55:02 +0800
Subject: [PATCH] remove echo's -e parameter

---
 restore_grafana.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/restore_grafana.sh b/restore_grafana.sh
index 94dcac1..53fe313 100755
--- a/restore_grafana.sh
+++ b/restore_grafana.sh
@@ -7,10 +7,10 @@ trap 'echo -ne "\n:::\n:::\tCaught signal, exiting at line $LINENO, while runnin
 current_path=$(pwd)
 archive_file="$1"
 
-if [ ! -f ${archive_file} ]; then
-	echo -e "Usage:"
-	echo -e "\t$0 <archive_file>"
-	echo -e " e.g. $0 '_OUTPUT_/2019-05-13T11-04-33.tar.gz'"
+if [ ! -f "${archive_file}" ]; then
+	echo "Usage:"
+	echo "\t$0 <archive_file>"
+	echo "\te.g. $0 '_OUTPUT_/2019-05-13T11-04-33.tar.gz'"
 	exit 1
 fi
 
-- 
GitLab