Fix key does not exist error
refs: 4076 Change-Id: If3569c4620f04b9ef51fa912d865f27c77a42004
This commit is contained in:
1 parent
da475f06c4
commit
59f8624201
1 file changed
+3
-3
+3
-3
@@ -31,6 +31,7 @@ import shutil
|
||||
import os
|
||||
import textwrap
|
||||
from subprocess import call
|
||||
import time
|
||||
|
||||
NETWORK="/ndn/"
|
||||
|
||||
@@ -45,9 +46,8 @@ class Nlsr(NdnApplication):
|
||||
node.cmd("mkdir %s" % self.logDir)
|
||||
|
||||
def start(self):
|
||||
# Removed & at the end, was giving key not found error
|
||||
# This way NLSR is daemonized fully before continuing
|
||||
NdnApplication.start(self, "nlsr -d -f {}".format(self.confFile))
|
||||
NdnApplication.start(self, "nlsr -f {} > /dev/null 2>&1 &".format(self.confFile))
|
||||
time.sleep(1)
|
||||
|
||||
@staticmethod
|
||||
def createKey(host, name, outputFile):
|
||||
|
||||
Reference in new issue
Block a user