Skip to content
Permalink
Browse files
bug fix: fetch access logs
  • Loading branch information
usmannasir committed May 14, 2020
1 parent 9d235aa commit 8743fa9adb80b06260d2a4bf2c0b933c6aa317fb
Showing 1 changed file with 1 addition and 4 deletions.
@@ -308,10 +308,7 @@ def getAccessLogs(fileName, page, externalApp):
print("0, %s file is symlinked." % (fileName))
return 0

if ProcessUtilities.decideDistro() == ProcessUtilities.centos:
groupName = 'nobody'
else:
groupName = 'nogroup'
groupName = 'nobody'

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

0 comments on commit 8743fa9

Please sign in to comment.