Skip to content

Commit 226b377

Browse files
authored
Update v-run-cli-cmd (hestiacp#3714)
Output PHP Error Messages.
1 parent d393685 commit 226b377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-run-cli-cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ for ((I = 3; I <= $#; I++)); do
8181
cmdArgs="$cmdArgs ${all_scriptargs[${I} - 1]}"
8282
done
8383

84-
runuser -u "$user" -- $clicmd $cmdArgs
84+
runuser -u "$user" -- $clicmd $cmdArgs 2>&1
8585
if [ $? -ne 0 ]; then
8686
echo "Error: cmd exited with errors"
8787
exit 3

0 commit comments

Comments
 (0)