From 9f2b936a7f60eeed532927c2b7f60cf2e2766dd4 Mon Sep 17 00:00:00 2001 From: anntnzrb Date: Fri, 6 Nov 2020 10:49:51 -0500 Subject: [PATCH] Removed unnecessary sub-shell, use braces instead --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index e70385d..431da4b 100644 --- a/larbs.sh +++ b/larbs.sh @@ -46,7 +46,7 @@ getuserandpass() { \ done ;} usercheck() { \ - ! (id -u "$name" >/dev/null) 2>&1 || + ! { id -u "$name" >/dev/null 2>&1; } || dialog --colors --title "WARNING!" --yes-label "CONTINUE" --no-label "No wait..." --yesno "The user \`$name\` already exists on this system. LARBS can install for a user already existing, but it will \\Zboverwrite\\Zn any conflicting settings/dotfiles on the user account.\\n\\nLARBS will \\Zbnot\\Zn overwrite your user files, documents, videos, etc., so don't worry about that, but only click if you don't mind your settings being overwritten.\\n\\nNote also that LARBS will change $name's password to the one you just gave." 14 70 }