diff options
Diffstat (limited to 'supervisor')
| -rw-r--r-- | supervisor/shared/filesystem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/supervisor/shared/filesystem.c b/supervisor/shared/filesystem.c index d968f4798..3382d28be 100644 --- a/supervisor/shared/filesystem.c +++ b/supervisor/shared/filesystem.c @@ -95,7 +95,7 @@ void filesystem_flush(void) { void filesystem_writable_by_python(bool writable) { fs_user_mount_t *vfs = &_internal_vfs; - if (writable) { + if (!writable) { vfs->flags |= FSUSER_USB_WRITABLE; } else { vfs->flags &= ~FSUSER_USB_WRITABLE; |
