Skip to content

Commit 5ccbb87

Browse files
authored
Needed to write shellcheck more correctly
1 parent 05525ae commit 5ccbb87

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
@@ -50,7 +50,7 @@ remote_routes_list=$remote_tempdir/remote_routes_list
5050

5151
# Find the objects to restore
5252
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
53+
find storage -mindepth 4 -maxdepth 4 -type f -print0 | xargs -0 -n 1 -P 0 wc -c > $storage_paths
5454

5555
# No need to restore anything, early exit
5656
if [ ! -s $storage_paths ]; then

0 commit comments

Comments
 (0)