Skip to content

Commit

Permalink
Remove line breaks that were preventing the script from running.
Browse files Browse the repository at this point in the history
Reported-by: efroese
  • Loading branch information
bernardl committed Sep 30, 2010
1 parent c56d9fa commit caca268
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions network/ib_perf/ib_perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ def main():
if pid > 0:
sys.exit(0)
except OSError, e:
print >>sys.stderr, "fork #1 failed: %d (%s)" % (e.errno, e.stre
rror)
print >>sys.stderr, "fork #1 failed: %d (%s)" % (e.errno, e.strerror)
sys.exit(1)

os.chdir("/")
Expand All @@ -99,7 +98,6 @@ def main():
open(PIDFILE, 'w').write("%d" % pid)
sys.exit(0)
except OSError, e:
print >>sys.stderr, "fork #2 failed: %d (%s)" % (e.errno, e.stre
rror)
print >>sys.stderr, "fork #2 failed: %d (%s)" % (e.errno, e.strerror)

main()

0 comments on commit caca268

Please sign in to comment.