Skip to content

Commit

Permalink
Don't error if there are no metadata files
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored Nov 29, 2023
1 parent 872034c commit fa90586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/rmfakecloud-proxy/rmfakecloudctl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ disconnect-cloud() {

# Mark all files as not synced
grep sync "$xochitl_data_dir"/*.metadata -l \
| xargs sed -i 's/synced\": true/synced\": false/'
| xargs -r sed -i 's/synced\": true/synced\": false/'

# Disconnect from cloud
sed -i '/^devicetoken=/d' "$xochitl_conf_path"
Expand Down

0 comments on commit fa90586

Please sign in to comment.