From ac27a67983ec1f358f39913f299bcdbd21248e0d Mon Sep 17 00:00:00 2001 From: rootzoll Date: Tue, 15 Jan 2019 20:20:26 +0100 Subject: [PATCH] fix clean up after HTTP download --- home.admin/config.scripts/lnd.export.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/config.scripts/lnd.export.sh b/home.admin/config.scripts/lnd.export.sh index 28629ae..e501a8d 100644 --- a/home.admin/config.scripts/lnd.export.sh +++ b/home.admin/config.scripts/lnd.export.sh @@ -75,7 +75,7 @@ elif [ ${exportType} = "http" ]; then cd ${randomNumber} python -m SimpleHTTPServer 51413 cd .. - rm -r ${randomNumber} + sudo rm -r ${randomNumber} echo "OK - temp HTTP server is stopped." else