Get last return value
This commit is contained in:
parent
514a536f40
commit
8eebb4f489
|
@ -256,7 +256,7 @@ function gnusocial_set_background_image {
|
|||
if [ ${#temp_background} -gt 0 ]; then
|
||||
GNUSOCIAL_BACKGROUND_IMAGE_URL="$temp_background"
|
||||
write_config_param "GNUSOCIAL_BACKGROUND_IMAGE_URL" "$GNUSOCIAL_BACKGROUND_IMAGE_URL"
|
||||
if [[ $(pleroma_set_background_image_from_url "$GNUSOCIAL_DOMAIN_NAME" "$GNUSOCIAL_BACKGROUND_IMAGE_URL" "$GNUSOCIAL_TITLE") == "0" ]]; then
|
||||
if [[ $(pleroma_set_background_image_from_url "$GNUSOCIAL_DOMAIN_NAME" "$GNUSOCIAL_BACKGROUND_IMAGE_URL" "$GNUSOCIAL_TITLE" | tail -n 1) == "0" ]]; then
|
||||
dialog --title $"Set GNU Social login background" \
|
||||
--msgbox $"The background image has been set" 6 60
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue