nothing wrong with a stderr being not empty
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 15 Mar 2016 14:46:24 +0000 (15:46 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 15 Mar 2016 14:46:24 +0000 (15:46 +0100)
nepi/resources/linux/application.py

index 4874a0e..e4086b8 100644 (file)
@@ -729,10 +729,15 @@ class LinuxApplication(ResourceManager):
                                 = self.node.check_errors(self.run_home)
 
                             if err:
-                                msg = "Failed to execute command '{}'"\
-                                      .format(self.get("command"))
-                                self.error(msg, out, err)
-                                self.do_fail()
+                                # Thierry : there's nothing wrong with a non-empty
+                                # stderr, is there ?
+                                #msg = "Failed to execute command '{}'"\
+                                #      .format(self.get("command"))
+                                #self.error(msg, out, err)
+                                #self.do_fail()
+                                # xxx TODO  OTOH it would definitely make sense
+                                # to check the exitcode
+                                pass
                             else:
                                 self.set_stopped()