* Remove the unnecessary warning printed by `nixos-rebuild test'. The

current configuration (/var/run/current-system) is always a GC root.

svn path=/nixos/trunk/; revision=26227
This commit is contained in:
Eelco Dolstra 2011-03-09 12:14:06 +00:00
parent f300833ebc
commit 6f1068b0b7

View file

@ -200,16 +200,6 @@ if test "$action" = switch -o "$action" = boot -o "$action" = test; then
fi
if test "$action" = test; then
cat >&2 <<EOF
Warning: if you remove or overwrite the symlink \`$pathToConfig', the
active system configuration may be garbage collected! This may render
the system inoperable (though a reboot will fix things).
EOF
fi
if test "$action" = build-vm; then
cat >&2 <<EOF