git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remote ns-3 with ping working
[nepi.git]
/
src
/
nepi
/
resources
/
linux
/
application.py
diff --git
a/src/nepi/resources/linux/application.py
b/src/nepi/resources/linux/application.py
index
642b287
..
4e9cce7
100644
(file)
--- a/
src/nepi/resources/linux/application.py
+++ b/
src/nepi/resources/linux/application.py
@@
-593,7
+593,7
@@
class LinuxApplication(ResourceManager):
sudo = self._sudo_kill)
# TODO: check if execution errors occurred
- if
proc.poll(
) or err:
+ if
(proc and proc.poll()
) or err:
msg = " Failed to STOP command '%s' " % self.get("command")
self.error(msg, out, err)