die() needs to be defined in post-update hook
(and in one other place it needs to be defined earlier)
I never caught this because in my testing those error conditions --
caused by lack of afc3a06
-- never came up.
This commit is contained in:
parent
1f768a1763
commit
fda9f37b3a
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
die() { echo "$@"; exit 1; } >&2
|
||||
|
||||
[ -z "$GL_RC" ] && die "ENV GL_RC not set"
|
||||
[ -z "$GL_BINDIR" ] && die "ENV GL_BINDIR not set"
|
||||
[ -z "$GL_ADMINDIR" ] && die "ENV GL_ADMINDIR not set"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue