mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-10-23 16:13:45 +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() {
|
||||
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 "Restore process failed. Exiting."
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user