Skip to content

Commit 8743fa9

Browse files
committed
bug fix: fetch access logs
1 parent 9d235aa commit 8743fa9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

plogical/virtualHostUtilities.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,7 @@ def getAccessLogs(fileName, page, externalApp):
308308
print("0, %s file is symlinked." % (fileName))
309309
return 0
310310

311-
if ProcessUtilities.decideDistro() == ProcessUtilities.centos:
312-
groupName = 'nobody'
313-
else:
314-
groupName = 'nogroup'
311+
groupName = 'nobody'
315312

316313
numberOfTotalLines = int(ProcessUtilities.outputExecutioner('wc -l %s' % (fileName), groupName).split(" ")[0])
317314

0 commit comments

Comments
 (0)