mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-21 05:43:08 +00:00
DVL-005 Use sudo to show logs on error
This commit is contained in:
parent
6eea97f1be
commit
7382aacf2a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user