mirror of
https://github.com/newnius/YAO-Dockerfiles.git
synced 2025-12-16 18:36:45 +00:00
update, exit with real exitCode
This commit is contained in:
@@ -17,5 +17,9 @@ fi
|
||||
# use eval because commands likes `key=value command` would cause file not found error when using $@, but this eval will ruin current environment
|
||||
eval $@
|
||||
|
||||
code=$?
|
||||
|
||||
# Persist output
|
||||
python /etc/save.py
|
||||
|
||||
exit $code
|
||||
|
||||
Reference in New Issue
Block a user