From b044899891aada13b7a5f6f53daa2ffd4d887b66 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 6 Feb 2007 13:20:53 +0000 Subject: [PATCH] * A helpful warning. svn path=/nixos/trunk/; revision=7856 --- installer/nixos-rebuild.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/installer/nixos-rebuild.sh b/installer/nixos-rebuild.sh index f63264cedae..12fae0cc80a 100644 --- a/installer/nixos-rebuild.sh +++ b/installer/nixos-rebuild.sh @@ -51,3 +51,13 @@ fi if test "$action" = "switch" -o "$action" = "boot" -o "$action" = "test"; then $pathToConfig/bin/switch-to-configuration "$action" fi + + +if test "$action" = "test"; then + cat >&2 <