From f6f36c640976a5e70a5244a793d6f0a6b4c856b6 Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Mon, 6 May 2013 19:44:25 +0200 Subject: [PATCH] libvideosite: Print config save status message --- libvideosite.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libvideosite.pm b/libvideosite.pm index c0d4807..8791c64 100644 --- a/libvideosite.pm +++ b/libvideosite.pm @@ -523,7 +523,11 @@ sub _expand_url_shortener { # Save the config to durable storage # sub _cmd_save { - $remote_api->{config_save}->(); + if ($remote_api->{config_save}->()) { + _io("Config saved"); + } else { + _io(sprintf("%sConfig save failed%s", _colorpair("*red"), _colorpair())); + } } # -- 1.8.3.1