Skip to content

Commit 049f515

Browse files
authored
Add sudo command
Signed-off-by: Gilles Quénot <[email protected]>
1 parent 9f67d3c commit 049f515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

developer_manual/digging_deeper/profiler.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using the latest development version of Nextcloud.
1313

1414
.. code-block:: bash
1515
16-
major_version=$(php occ version 2>&1 | awk -F'[. ]' '{print $2;exit}')
16+
major_version=$(sudo -E -u www-data php occ version 2>&1 | awk -F'[. ]' '{print $2;exit}')
1717
cd apps/
1818
git clone --branch stable$major_version https://github.com/nextcloud/profiler.git
1919
cd profiler

0 commit comments

Comments
 (0)