From: Ralf Ertzinger Date: Mon, 6 May 2013 17:44:25 +0000 (+0200) Subject: libvideosite: Print config save status message X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=videosite.git;a=commitdiff_plain;h=f6f36c640976a5e70a5244a793d6f0a6b4c856b6 libvideosite: Print config save status message --- 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())); + } } #