projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2505b4e
)
use CRONUSER if USER is blank
author
Chris Koeritz
<fred@gruntose.com>
Tue, 7 Feb 2017 17:47:52 +0000
(12:47 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Tue, 7 Feb 2017 17:47:52 +0000
(12:47 -0500)
scripts/core/launch_feisty_meow.sh
patch
|
blob
|
history
diff --git
a/scripts/core/launch_feisty_meow.sh
b/scripts/core/launch_feisty_meow.sh
index db00c382eafa22b1c5005bc96ae00ab02d8b18b3..b5a7b2f0d8291294c19679bd14b369cf14ab3c3c 100644
(file)
--- 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.