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 05525ae commit 5ccbb87Copy full SHA for 5ccbb87
share/github-backup-utils/ghe-restore-storage
@@ -50,7 +50,7 @@ remote_routes_list=$remote_tempdir/remote_routes_list
50
51
# Find the objects to restore
52
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
+find storage -mindepth 4 -maxdepth 4 -type f -print0 | xargs -0 -n 1 -P 0 wc -c > $storage_paths
54
55
# No need to restore anything, early exit
56
if [ ! -s $storage_paths ]; then
0 commit comments