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 2019-05-05 03:33:35 +00:00 committed by Atomic Bot
parent b35f337dc7
commit 27b7d468e6

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];