occ_file_scan_all_accounts.sh: minor change in script output.

This commit is contained in:
Christoph 2021-07-06 00:48:41 +02:00
parent 9e38b08a0e
commit d4413f9d04

View File

@ -377,7 +377,7 @@ for _user in $(ls ${DATA_DIR}) ; do
if $terminal ; then
echo ""
echo -e "\033[37m\033[1mcommandline was:\033[m"
echo "su -c \"/usr/local/php/bin/php /usr/local/php/bin/php ${INSTALL_DIR}/occ files:scan --path=$_user\" -s /bin/bash $HTTP_USER"
echo "su -c \"$PHP_BIN ${INSTALL_DIR}/occ files:scan --path=$_user\" -s /bin/bash $HTTP_USER"
error "$(cat "$log_file")"
else
error "Running filescan for user \"$_user\" failed!"