From: Fred Hamster Date: Mon, 16 Dec 2024 21:20:21 +0000 (-0500) Subject: more cleaning X-Git-Tag: 2.140.189^2~70 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=f18491175ec37a4ab747a2b629bdf36b9282d032;p=feisty_meow.git more cleaning --- diff --git a/scripts/core/launch_feisty_meow.sh b/scripts/core/launch_feisty_meow.sh index 4593266a..2e773361 100644 --- a/scripts/core/launch_feisty_meow.sh +++ b/scripts/core/launch_feisty_meow.sh @@ -123,7 +123,7 @@ if [ "$NO_REPAIRS_NEEDED" == "true" ]; then # patch the user variable if we were launched by one of our cron jobs. # first we set USER to not use the full email style version, if that's what already exists. - if [ ! -z "$USER" -a ! -z "$(echo "${USER/.*@.*/yeps}")" ]; then + if [ ! -z "$USER" -a "$(echo "${USER/*@*/yeps}")" == "yeps" ]; then USER="$(sanitized_username)" fi # then we check if the USER variable isn't set, and use CRONUSER from the cron templates, if defined.