]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: complain if people still use --share-system
authorLennart Poettering <lennart@poettering.net>
Sat, 12 May 2018 20:17:38 +0000 (13:17 -0700)
committerLennart Poettering <lennart@poettering.net>
Tue, 22 May 2018 14:20:08 +0000 (16:20 +0200)
src/nspawn/nspawn.c

index 15d43774a49ad8b71714371d2c8b000d8b3f32cd..8a234b8f880b0fe5c06b410255a1e8602755adf5 100644 (file)
@@ -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;