Skip to content

Commit 05525ae

Browse files
authored
Fix test evaluation
1 parent af5ef89 commit 05525ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/github-backup-utils/ghe-restore-storage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ cd $GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT/
5353
find storage -mindepth 4 -maxdepth 4 -type f | xargs -0 -n 1 -P 0 wc -c > $storage_paths
5454

5555
# No need to restore anything, early exit
56-
if [ -z $storage_paths ]; then
56+
if [ ! -s $storage_paths ]; then
5757
echo "Warning: Storage backup missing. Skipping ..."
5858
exit 0
5959
fi

0 commit comments

Comments
 (0)