mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
nspawn: complain if people still use --share-system
This commit is contained in:
parent
4e1d6aa983
commit
63d1c29ffa
@ -868,6 +868,7 @@ static int parse_argv(int argc, char *argv[]) {
|
||||
case ARG_SHARE_SYSTEM:
|
||||
/* We don't officially support this anymore, except for compat reasons. People should use the
|
||||
* $SYSTEMD_NSPAWN_SHARE_* environment variables instead. */
|
||||
log_warning("Please do not use --share-system anymore, use $SYSTEMD_NSPAWN_SHARE_* instead.");
|
||||
arg_clone_ns_flags = 0;
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user