Tests/regression-satellite: fix permission denied error in cleanup()
The cleanup() function cats the httpd log and error file, but did not use sudo, which failed on permissions. Fix that. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
df161ad23d
commit
d4c8f74ee4
1 changed files with 2 additions and 2 deletions
|
|
@ -83,8 +83,8 @@ function cleanup {
|
|||
set +eu
|
||||
|
||||
greenprint "Display httpd logs"
|
||||
cat /var/log/httpd/access_log
|
||||
cat /var/log/httpd/error_log
|
||||
sudo cat /var/log/httpd/access_log
|
||||
sudo cat /var/log/httpd/error_log
|
||||
|
||||
greenprint "Putting things back to their previous configuration"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue