summaryrefslogtreecommitdiff
path: root/etc/functions/off
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-02-13 12:11:57 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-02-13 12:11:57 +0100
commitf77734447c2af100240561996a6cf833f3dca089 (patch)
treeabf6b0f273795cb4c61d1496f0b057dd14197784 /etc/functions/off
parent76ef6921820d46fef0ca302931ba99d15544d403 (diff)
Don't use die/warn/info, they'll probably be removed some time
Diffstat (limited to 'etc/functions/off')
-rw-r--r--etc/functions/off2
1 files changed, 1 insertions, 1 deletions
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
}