From 18f58442b0778e6a132145135629361d14abf9db Mon Sep 17 00:00:00 2001 From: Celestial Nebula <41875671+CelestialNebula@users.noreply.github.com> Date: Sat, 1 Apr 2023 17:45:53 +0000 Subject: [PATCH] updater.sh/prefsCleaner.sh: Remove extra slash Co-authored-by: Mohammed Anas --- prefsCleaner.sh | 2 +- updater.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prefsCleaner.sh b/prefsCleaner.sh index 4953b26..537c91f 100755 --- a/prefsCleaner.sh +++ b/prefsCleaner.sh @@ -15,7 +15,7 @@ if [ "${EUID:-$(id -u)}" -eq 0 ]; then elif [ -n "$(find ./ -user 0 -o -group 0)" ]; then printf 'It looks like this script was previously run with elevated privileges, you will need to change ownership of the following files to your user:\n' - find ./ -user 0 -o -group 0 + find . -user 0 -o -group 0 exit 1 fi diff --git a/updater.sh b/updater.sh index 6897384..25896ab 100755 --- a/updater.sh +++ b/updater.sh @@ -15,7 +15,7 @@ if [ "${EUID:-$(id -u)}" -eq 0 ]; then elif [ -n "$(find ./ -user 0 -o -group 0)" ]; then printf 'It looks like this script was previously run with elevated privileges, you will need to change ownership of the following files to your user:\n' - find ./ -user 0 -o -group 0 + find . -user 0 -o -group 0 exit 1 fi