diff --git a/Userland/Utilities/mount.cpp b/Userland/Utilities/mount.cpp index 5943f91eaf..a4021b2fdd 100644 --- a/Userland/Utilities/mount.cpp +++ b/Userland/Utilities/mount.cpp @@ -167,8 +167,10 @@ ErrorOr serenity_main(Main::Arguments arguments) args_parser.add_option(should_mount_all, "Mount all file systems listed in /etc/fstab", nullptr, 'a'); args_parser.parse(arguments); - if (should_mount_all) + if (should_mount_all) { TRY(mount_all()); + return 0; + } if (source.is_empty() && mountpoint.is_empty()) TRY(print_mounts());