mirror of
https://github.com/cytopia/devilbox.git
synced 2025-01-02 02:56:39 +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 "log files"
|
||||||
echo "------------------------------------------------------------"
|
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
|
return 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user