Changeset View
Changeset View
Standalone View
Standalone View
www/collaboraonline/files/patch-tools_mount.cpp
- This file was added.
| --- tools/mount.cpp.orig 2021-12-02 15:17:49 UTC | |||||
| +++ tools/mount.cpp | |||||
| @@ -218,6 +218,7 @@ int main(int argc, char** argv) | |||||
| } | |||||
| else if (strcmp(option, "-r") == 0) // Readonly Mount. | |||||
| { | |||||
| + return EX_OK; | |||||
| // Now we need to set read-only and other flags with a remount. | |||||
| int retval = MOUNT(source, target, nullptr, | |||||
| (MS_BIND | MS_REC | MS_REMOUNT | MS_NOATIME | MS_NODEV | MS_NOSUID | |||||