entrypoint.sh: Fix ShellCheck warning introduced by #199.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2019-06-17 17:34:14 -07:00
committed by Tim Abbott
parent fc83b6d378
commit 520f81ff30

View File

@@ -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