From e89f617299cb5dd72ffd83cc989a8a559398716b Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 2 Jun 2024 21:11:04 +0200 Subject: [PATCH] NO DELETING THE ENTIRE FILESYSTEM (thanks shellcheck for not letting me delete my entire system :3) --- uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uninstall.sh b/uninstall.sh index 6c00bace..2518f21d 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -5,7 +5,7 @@ function unlink() { if [ -a "${HOME}/${1}" ]; then echo ":: Unlinking ${1}" - rm -rf "${HOME}/${1}" + rm -rf "${HOME:?}/${1:?}" fi }