From 4f98c1bebbed4539751aaa01b6790159432c8980 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Mon, 10 Oct 2016 06:16:00 -0700 Subject: [PATCH] Boolean operators inside quotes don't work well... --- automated install/basic-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 37c68d23..6371d0f6 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -694,7 +694,6 @@ update_repo() { echo " done!" } - CreateLogFile() { # Create logfiles if necessary echo ":::" @@ -756,7 +755,7 @@ runGravity() { create_pihole_user(){ # Check if user pihole exists and create if not echo "::: Checking if user 'pihole' exists..." - id -u pihole &> /dev/null && echo "::: User 'pihole' already exists" || echo "::: User 'pihole' doesn't exist. && Creating..." useradd -r -s /usr/sbin/nologin pihole + id -u pihole &> /dev/null && echo "::: User 'pihole' already exists" || echo "::: User 'pihole' doesn't exist. Creating..." && useradd -r -s /usr/sbin/nologin pihole } configureFirewall() {