* 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:
parent
f300833ebc
commit
6f1068b0b7
@ -200,16 +200,6 @@ if test "$action" = switch -o "$action" = boot -o "$action" = test; then
|
|||||||
fi
|
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
|
if test "$action" = build-vm; then
|
||||||
cat >&2 <<EOF
|
cat >&2 <<EOF
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user