Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-12-14 15:01:21 +0300
committernachoparker <nacho@ownyourbits.com>2017-12-14 15:01:21 +0300
commit4b07f0b423edfa95c85abdda5ddad5a4dab1bf18 (patch)
tree320f88dd63ccf08a301e5d9aebf7106dbdf64472 /bin/ncp-diag
parent3f09cd500fc9ce5ab19df98fff805204f6530e67 (diff)
fix occ command without execute permissionsv0.41.9
Diffstat (limited to 'bin/ncp-diag')
-rwxr-xr-xbin/ncp-diag2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ncp-diag b/bin/ncp-diag
index b4da0fd4..6289fb98 100755
--- a/bin/ncp-diag
+++ b/bin/ncp-diag
@@ -34,7 +34,7 @@ echo "datadir|$DATADIR$DIRINFO"
echo "rootfs usage|$( df -h / | tail -1 | awk '{ print $3"/"$2 }')"
# Nextcloud
-VERSION="$( sudo -u www-data /var/www/nextcloud/occ status | grep "version:" | awk '{ print $3 }' )"
+VERSION="$( sudo -u www-data php /var/www/nextcloud/occ status | grep "version:" | awk '{ print $3 }' )"
if [[ "$VERSION" != "" ]]; then
echo "Nextcloud check|ok"
echo "Nextcloud version|$VERSION"