From f77734447c2af100240561996a6cf833f3dca089 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 13 Feb 2010 12:11:57 +0100 Subject: Don't use die/warn/info, they'll probably be removed some time --- etc/functions/off | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/functions/off') diff --git a/etc/functions/off b/etc/functions/off index 36e5aeb..1edd2d8 100644 --- a/etc/functions/off +++ b/etc/functions/off @@ -40,7 +40,7 @@ while [[ $1 == -* ]] { # Don't shut down a server too easily if [[ $force != 1 && $hosts[$HOST] == *:server:* ]] { - warn "This seems to be a server... not shutting down" + print -P '%B%F{yellow}This seems to be a server... not shutting down%f%b' echo "Use 'off --force' if you really mean it" return 1 } -- cgit v1.2.3