2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-05-26 03:26:56 +02:00

Replaced every "exit" in the friendica CLI with "return"

This should possibly fix the Travis.yml test
This commit is contained in:
Philipp Holzer 2018-05-20 16:54:57 +02:00
parent a6d069de07
commit 3aebb1ac08
No known key found for this signature in database
GPG key ID: 58160D7D6AF942B6
6 changed files with 12 additions and 12 deletions

View file

@ -48,7 +48,7 @@ friendica_help() {
echo " composer Executes the composer.phar executable for Friendica"
echo " install Installs Friendica"
echo " update Updates Friendica"
exit 1
return
}
# executes the Friendica console
@ -86,7 +86,7 @@ copy_sources() {
if version_greater "$installed_version" "$image_version"; then
echo "Can't copy Friendica sources because the version of the data ($installed_version) is higher than the docker image ($image_version)"
exit 1;
return;
fi
if version_greater "$image_version" "$installed_version"; then

View file

@ -48,7 +48,7 @@ friendica_help() {
echo " composer Executes the composer.phar executable for Friendica"
echo " install Installs Friendica"
echo " update Updates Friendica"
exit 1
return
}
# executes the Friendica console
@ -86,7 +86,7 @@ copy_sources() {
if version_greater "$installed_version" "$image_version"; then
echo "Can't copy Friendica sources because the version of the data ($installed_version) is higher than the docker image ($image_version)"
exit 1;
return;
fi
if version_greater "$image_version" "$installed_version"; then

View file

@ -48,7 +48,7 @@ friendica_help() {
echo " composer Executes the composer.phar executable for Friendica"
echo " install Installs Friendica"
echo " update Updates Friendica"
exit 1
return
}
# executes the Friendica console
@ -86,7 +86,7 @@ copy_sources() {
if version_greater "$installed_version" "$image_version"; then
echo "Can't copy Friendica sources because the version of the data ($installed_version) is higher than the docker image ($image_version)"
exit 1;
return;
fi
if version_greater "$image_version" "$installed_version"; then

View file

@ -48,7 +48,7 @@ friendica_help() {
echo " composer Executes the composer.phar executable for Friendica"
echo " install Installs Friendica"
echo " update Updates Friendica"
exit 1
return
}
# executes the Friendica console
@ -86,7 +86,7 @@ copy_sources() {
if version_greater "$installed_version" "$image_version"; then
echo "Can't copy Friendica sources because the version of the data ($installed_version) is higher than the docker image ($image_version)"
exit 1;
return;
fi
if version_greater "$image_version" "$installed_version"; then

View file

@ -48,7 +48,7 @@ friendica_help() {
echo " composer Executes the composer.phar executable for Friendica"
echo " install Installs Friendica"
echo " update Updates Friendica"
exit 1
return
}
# executes the Friendica console
@ -86,7 +86,7 @@ copy_sources() {
if version_greater "$installed_version" "$image_version"; then
echo "Can't copy Friendica sources because the version of the data ($installed_version) is higher than the docker image ($image_version)"
exit 1;
return;
fi
if version_greater "$image_version" "$installed_version"; then

View file

@ -48,7 +48,7 @@ friendica_help() {
echo " composer Executes the composer.phar executable for Friendica"
echo " install Installs Friendica"
echo " update Updates Friendica"
exit 1
return
}
# executes the Friendica console
@ -86,7 +86,7 @@ copy_sources() {
if version_greater "$installed_version" "$image_version"; then
echo "Can't copy Friendica sources because the version of the data ($installed_version) is higher than the docker image ($image_version)"
exit 1;
return;
fi
if version_greater "$image_version" "$installed_version"; then