]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: fix the sections .nspawn settings are placed in
authorLennart Poettering <lennart@poettering.net>
Wed, 5 May 2021 12:13:40 +0000 (14:13 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 6 May 2021 20:57:30 +0000 (05:57 +0900)
The actual section names are quite different from what the comment so
far suggested. Fix that.

src/nspawn/nspawn-settings.h

index d0c708a8a08c9524c7b6fefd29d244560d95d298..a5e6dbead5a92bbf408db62e7cb258823aaf886b 100644 (file)
@@ -149,7 +149,7 @@ typedef struct OciHook {
 } OciHook;
 
 typedef struct Settings {
-        /* [Run] */
+        /* [Exec] */
         StartMode start_mode;
         bool ephemeral;
         char **parameters;
@@ -180,7 +180,7 @@ typedef struct Settings {
         bool link_journal_try;
         TimezoneMode timezone;
 
-        /* [Image] */
+        /* [Files] */
         int read_only;
         VolatileMode volatile_mode;
         CustomMount *custom_mounts;