We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af5ef89 commit 05525aeCopy full SHA for 05525ae
share/github-backup-utils/ghe-restore-storage
@@ -53,7 +53,7 @@ cd $GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT/
53
find storage -mindepth 4 -maxdepth 4 -type f | xargs -0 -n 1 -P 0 wc -c > $storage_paths
54
55
# No need to restore anything, early exit
56
-if [ -z $storage_paths ]; then
+if [ ! -s $storage_paths ]; then
57
echo "Warning: Storage backup missing. Skipping ..."
58
exit 0
59
fi
0 commit comments