about summary refs log tree commit diff
path: root/nixos/modules/system/boot/loader/systemd-boot
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2023-08-26 18:50:04 +0200
committerJörg Thalheim <Mic92@users.noreply.github.com>2023-10-10 14:49:51 +0200
commitdbac7467ad7cde84e2679d8c4baf987cb7a93887 (patch)
tree9e5e335f5ea1f5d2853f91161ad403b4ab3c0423 /nixos/modules/system/boot/loader/systemd-boot
parent1f70361d08e96a1ad98c465670f901b1262afbcf (diff)
systemd-boot-builder: drop semicolons
this is python, not C.
Diffstat (limited to 'nixos/modules/system/boot/loader/systemd-boot')
-rwxr-xr-xnixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py
index a025e9f592512..88f873723565c 100755
--- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py
+++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py
@@ -66,8 +66,8 @@ def write_loader_conf(profile: Optional[str], generation: int, specialisation: O
             f.write("timeout @timeout@\n")
         f.write("default %s\n" % generation_conf_filename(profile, generation, specialisation))
         if not @editor@:
-            f.write("editor 0\n");
-        f.write("console-mode @consoleMode@\n");
+            f.write("editor 0\n")
+        f.write("console-mode @consoleMode@\n")
     os.rename("@efiSysMountPoint@/loader/loader.conf.tmp", "@efiSysMountPoint@/loader/loader.conf")