From 9d95bebefca520c3f8397862baea405ca845cc91 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Sat, 20 Jan 2024 13:19:16 -0700 Subject: [PATCH] rmfakecloudctl: Don't error if there are no metadata files (#757) * Don't error if there are no metadata files * Update version number --- package/rmfakecloud-proxy/rmfakecloudctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/rmfakecloud-proxy/rmfakecloudctl b/package/rmfakecloud-proxy/rmfakecloudctl index deff1f18d..c530f3589 100644 --- a/package/rmfakecloud-proxy/rmfakecloudctl +++ b/package/rmfakecloud-proxy/rmfakecloudctl @@ -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"