DVL-005 Use sudo to show logs on error

This commit is contained in:
cytopia 2017-04-21 11:40:19 +02:00
parent 6eea97f1be
commit 7382aacf2a
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -455,7 +455,8 @@ debilbox_test() {
echo "log files"
echo "------------------------------------------------------------"
find log -type f -exec sh -c 'echo "{}:\n-----------------"; cat "{}"; echo "\n\n"' \;
ls -lap log/
sudo find log -type f -exec sh -c 'echo "{}:\n-----------------"; cat "{}"; echo "\n\n"' \;
return 1