From 7613ae950ac35b9fb21e679c383a9ffff1cb73b0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 24 Jun 2012 19:02:34 -0400 Subject: [PATCH] Fix booting on EC2 The kill command in ash doesn't know the "--" syntax, but doesn't need it either. --- modules/virtualisation/amazon-image.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/virtualisation/amazon-image.nix b/modules/virtualisation/amazon-image.nix index 1891f816671c..203c9a724ce1 100644 --- a/modules/virtualisation/amazon-image.nix +++ b/modules/virtualisation/amazon-image.nix @@ -83,7 +83,7 @@ with pkgs.lib; # Force udev to exit to prevent random "Device or resource busy # while trying to open /dev/xvda" errors from fsck. udevadm control --exit || true - kill -9 -- -1 + kill -9 -1 ''; # Mount all formatted ephemeral disks and activate all swap devices.