X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=videosite.git;a=blobdiff_plain;f=libvideosite.pm;h=8791c649db8c5de30fe2e5b23020bd2707d4a549;hp=c0d4807e32b6056acc895812879ddbf9d235dfe1;hb=f6f36c640976a5e70a5244a793d6f0a6b4c856b6;hpb=ba69db073455cd39baf7ff3834a4475ed7536a6e 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())); + } } #