diff --git a/js/ui/autorunManager.js b/js/ui/autorunManager.js index 9fbb26e53..9d39690e9 100644 --- a/js/ui/autorunManager.js +++ b/js/ui/autorunManager.js @@ -27,7 +27,7 @@ function ignoreAutorunForMount(mount) { let root = mount.get_root(); let volume = mount.get_volume(); - if ((root.is_native() && !isMountRootHidden(root)) || + if ((root.is_native() && !isMountRootHidden(root)) && (volume && volume.allowAutorun && volume.should_automount())) return false;