mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
Pass arguments to seaf-gc
This will allow users to run seaf-gc with parameters like ``-D`` or ``-r``
This commit is contained in:
parent
bce6d85c2e
commit
0e865b8900
|
@ -18,7 +18,7 @@ fi
|
|||
# Do it
|
||||
(
|
||||
set +e
|
||||
$SEAFILE_DIR/seaf-gc.sh | tee -a /var/log/gc.log
|
||||
$SEAFILE_DIR/seaf-gc.sh "$@" | tee -a /var/log/gc.log
|
||||
# We want to presevent the exit code of seaf-gc.sh
|
||||
exit "${PIPESTATUS[0]}"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue