prepare-root: remove ignored MS_MGC_VAL flag

Since Linux 2.4 this is no longer required and the flag is ignored.

Closes: #1851
Approved by: cgwalters
This commit is contained in:
Tristan Cacqueray authored and Atomic Bot committed 2019-05-05 20:53:17 +00:00
1 parent b35f337dc7
commit 27b7d468e6
1 file changed
+1 -1
+1 -1
View File
@@ -182,7 +182,7 @@ main(int argc, char *argv[])
mount_var = true;
/* Link to the deployment's /var */
if (mount_var && mount ("../../var", "var", NULL, MS_MGC_VAL|MS_BIND, NULL) < 0)
if (mount_var && mount ("../../var", "var", NULL, MS_BIND, NULL) < 0)
err (EXIT_FAILURE, "failed to bind mount ../../var to var");
char srcpath[PATH_MAX];