From e1de9292f1edd90061f61d132afddf8cb12a12ee Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 7 Feb 2017 12:47:52 -0500 Subject: [PATCH] use CRONUSER if USER is blank --- scripts/core/launch_feisty_meow.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/core/launch_feisty_meow.sh b/scripts/core/launch_feisty_meow.sh index db00c382..b5a7b2f0 100644 --- a/scripts/core/launch_feisty_meow.sh +++ b/scripts/core/launch_feisty_meow.sh @@ -18,6 +18,13 @@ ############## +# patch the user variable if we were launched by one of our cron jobs. +if [ -z "$USER" -a ! -z "$CRONUSER" ]; then + export USER="$CRONUSER" +fi + +############## + export ERROR_OCCURRED= # there have been no errors to start with, at least. we will set this # to non-empty if something bad happens. -- 2.34.1