summaryrefslogtreecommitdiffstats
path: root/sdcard
diff options
context:
space:
mode:
Diffstat (limited to 'sdcard')
-rw-r--r--sdcard/sdcard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c
index a136232..3cd5bc4 100644
--- a/sdcard/sdcard.c
+++ b/sdcard/sdcard.c
@@ -1510,6 +1510,10 @@ static void handle_fuse_requests(struct fuse_handler* handler)
if (errno != EINTR) {
ERROR("[%d] handle_fuse_requests: errno=%d\n", handler->token, errno);
}
+ if (errno == ENODEV) {
+ ERROR("[%d] someone stole our marbles!\n", handler->token);
+ exit(2);
+ }
continue;
}