git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ba69db0
)
libvideosite: Print config save status message
author
Ralf Ertzinger
<ralf@skytale.net>
Mon, 6 May 2013 17:44:25 +0000
(19:44 +0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Mon, 6 May 2013 17:44:25 +0000
(19:44 +0200)
libvideosite.pm
patch
|
blob
|
history
diff --git
a/libvideosite.pm
b/libvideosite.pm
index
c0d4807
..
8791c64
100644
(file)
--- a/
libvideosite.pm
+++ b/
libvideosite.pm
@@
-523,7
+523,11
@@
sub _expand_url_shortener {
# Save the config to durable storage
#
sub _cmd_save {
# 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()));
+ }
}
#
}
#