Skip to content

Commit 88cec7b

Browse files
author
Arthur Chan
committed
Fix problems
1 parent cad3066 commit 88cec7b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

startTool/startSpade.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ def startSpade(workingPath, suffix, loopCount, fingerprint):
110110
#Handle Aduit Log File
111111
shutil.copyfile('/var/log/audit/audit.log', '%s/audit.log' % workingPath)
112112

113+
#Generate graph
113114
#Extract audit log line for each trial
114115
command = 'grep -n %s %s/audit.log' % ('%s', workingPath)
115116

@@ -143,6 +144,6 @@ def startSpade(workingPath, suffix, loopCount, fingerprint):
143144
while not os.path.exists(outFile) or os.path.getsize(outFile) <= 162:
144145
loopCount = loopCount + 1
145146
startSpade(workingPath, '%s' % suffix, loopCount, fingerprint])
146-
else:
147-
startSpade(workingPath, '%s-%d' %(sffix, 2, fingerprint])
147+
else:
148+
startSpade(workingPath, '%s-%d' %(sffix, 2, fingerprint])
148149
print (fingerprint)

0 commit comments

Comments
 (0)