mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-11-20 14:38:32 +00:00
entrypoint.sh: Fix ShellCheck warning introduced by #199.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
fc83b6d378
commit
520f81ff30
@@ -456,7 +456,7 @@ appBackup() {
|
|||||||
}
|
}
|
||||||
appRestore() {
|
appRestore() {
|
||||||
echo "Starting restore process ..."
|
echo "Starting restore process ..."
|
||||||
if [ -z "$(ls -A $DATA_DIR/backups)" ]; then
|
if [ -z "$(ls -A "$DATA_DIR/backups/")" ]; then
|
||||||
echo "No backups to restore found in \"$DATA_DIR/backups/\"."
|
echo "No backups to restore found in \"$DATA_DIR/backups/\"."
|
||||||
echo "Restore process failed. Exiting."
|
echo "Restore process failed. Exiting."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user