Skip to content

Commit

Permalink
rmfakecloudctl: Don't error if there are no metadata files (#757)
Browse files Browse the repository at this point in the history
* Don't error if there are no metadata files

* Update version number
  • Loading branch information
Eeems authored Jan 20, 2024
1 parent 6ca0720 commit 9d95beb
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 9d95beb

Please sign in to comment.