1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Generally gratuitous, as connectd's already exited (#3162)

This commit is contained in:
A Holt 2022-04-04 10:11:51 -04:00 committed by GitHub
parent efee271f00
commit 36ca9c6701
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ else
echo -e "In a few secs, all 3 svcs {connectd, schannel, remoteit@...} should be back!\n"
systemctl stop connectd # Safer!
systemctl stop connectd # "Safer" (though it's generally exited already!)
# '|| true' overrides 'bash -e' so script continues if config.json missing
mv /etc/remoteit/config.json /etc/remoteit/config.json.$(date +%F_%T_%Z) || true