Fix key does not exist error

refs: 4076

Change-Id: If3569c4620f04b9ef51fa912d865f27c77a42004
This commit is contained in:
Ashlesh Gawande committed 2017-05-05 15:22:38 -05:00
1 parent da475f06c4
commit 59f8624201
1 file changed
+3 -3
+3 -3
View File
@@ -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):