Fix a spelling mistake, remove control.fs regardless of control.state's existenc
e.
From: Jiqing Tang <jiqingtang@google.com>
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1288 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/job.py b/client/bin/job.py
index 3831c29..a02fc77 100755
--- a/client/bin/job.py
+++ b/client/bin/job.py
@@ -501,9 +501,13 @@
# We are about to exit 'complete' so clean up the control file.
try:
os.unlink(self.control + '.state')
- oa.unlink(self.control + '.fs')
except:
pass
+ try:
+ os.unlink(self.control + '.fs')
+ except:
+ pass
+
self.harness.run_complete()
sys.exit(status)