__nextcloud: suppress global warnings from occ
As it's the default for __nextcloud_app and __nextcloud_user, it will now suppress global warnings, too. This will be done because nobody cares about then, only about the errors generated from the executed command.
This commit is contained in:
parent
c89bb59409
commit
b6db7b5ca8
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ occ() {
|
||||||
# will not use -q as it supresses errors, too
|
# will not use -q as it supresses errors, too
|
||||||
cat << SHELL
|
cat << SHELL
|
||||||
su -s /bin/sh -l "$user" -- -e <<SU
|
su -s /bin/sh -l "$user" -- -e <<SU
|
||||||
cd '$installdir' && php occ --no-interaction --no-ansi $@
|
cd '$installdir' && php occ --no-warnings --no-interaction --no-ansi $@
|
||||||
SU
|
SU
|
||||||
SHELL
|
SHELL
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue