mirror of
https://github.com/friendica/docker
synced 2025-01-21 10:23:16 +01:00
Replaced every "exit" in the friendica
CLI with "return"
This should possibly fix the Travis.yml test
This commit is contained in:
parent
a6d069de07
commit
3aebb1ac08
6 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue