Skip to content

Commit cfdc770

Browse files
authored
chore: ignore errors moving udev rules
Ensure rules files move operation does not fail.
1 parent 44221f6 commit cfdc770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ else
148148
# copy across the useful files
149149
rm -R -f /opt/companion
150150
mv /tmp/companion-update/resources /opt/companion
151-
mv /tmp/companion-update/*.rules /opt/companion/
151+
mv /tmp/companion-update/*.rules /opt/companion/ || true
152152
rm -R /tmp/companion-update
153153

154154
echo "Finishing"

0 commit comments

Comments
 (0)