We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b56c0d commit e49b4a4Copy full SHA for e49b4a4
src/worker/modules/storage.js
@@ -13,7 +13,11 @@ export const mountTeslaCamAsReadWrite = async () => {
13
14
export const unmountTeslaCam = async () => {
15
logWithTimestamp("Unmounting TeslaCam")
16
- await executeBashCommand("sudo umount /mnt/TeslaCam && systemctl daemon-reload")
+ try {
17
+ await executeBashCommand("sudo umount /mnt/TeslaCam && systemctl daemon-reload")
18
+ } catch (error) {
19
+ errorWithTimestamp("Unable to unmount TeslaCam, this is OK if it wasn't meant to be mounted.")
20
+ }
21
}
22
23
export const unmountUsbDriveFromHost = async () => {
0 commit comments