From 981f24ec8e21e73e1def8a714384f5b1dbcada6b Mon Sep 17 00:00:00 2001 From: mollusk Date: Sat, 25 Jul 2020 21:13:24 -0700 Subject: [PATCH] genswap,sh: remove redundant slash in swapfile path output --- genswap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/genswap.sh b/genswap.sh index 849a836..10cfc6b 100755 --- a/genswap.sh +++ b/genswap.sh @@ -41,7 +41,7 @@ function autoSwap(){ echo -e "${LGREEN}------------------------------------------------------------------${NC}" read - echo -e "${LCYAN}\nCreating file ${SWAPPATH}/${SWAPNAME}...\n${NC}" + echo -e "${LCYAN}\nCreating file ${SWAPPATH}${SWAPNAME}...\n${NC}" dd if=/dev/zero of=${SWAPPATH}${SWAPNAME} count=${TOTALRAM} bs=1MiB ls -lh ${SWAPPATH}${SWAPNAME} @@ -224,4 +224,4 @@ case "${1}" in *) help ;; -esac \ No newline at end of file +esac