genswap,sh: remove redundant slash in swapfile path output

This commit is contained in:
mollusk 2020-07-25 21:13:24 -07:00
parent 93510fd7d6
commit 981f24ec8e

View File

@ -41,7 +41,7 @@ function autoSwap(){
echo -e "${LGREEN}------------------------------------------------------------------${NC}" echo -e "${LGREEN}------------------------------------------------------------------${NC}"
read 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 dd if=/dev/zero of=${SWAPPATH}${SWAPNAME} count=${TOTALRAM} bs=1MiB
ls -lh ${SWAPPATH}${SWAPNAME} ls -lh ${SWAPPATH}${SWAPNAME}