summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/functions/off2
-rw-r--r--etc/functions/put2
2 files changed, 2 insertions, 2 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
}
diff --git a/etc/functions/put b/etc/functions/put
index bf512c1..556d50b 100644
--- a/etc/functions/put
+++ b/etc/functions/put
@@ -13,7 +13,7 @@ typeset -i n_hosts n_ping n_curl
if [[ -z $commands[curl] ]]; then
function curl {return 0}
- warn "curl not present, won't be able to check upload success"
+ print -P "%B%F{yellow}curl not present, won't be able to check upload success%f%b"
fi
function put_aneurysm_vpn {