From f18491175ec37a4ab747a2b629bdf36b9282d032 Mon Sep 17 00:00:00 2001 From: Fred Hamster Date: Mon, 16 Dec 2024 16:20:21 -0500 Subject: [PATCH] more cleaning --- scripts/core/launch_feisty_meow.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.34.1