scripts/func-command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 scripts/func-command |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 15df8d180e85dc5244b39833e0d36c6d46ceb355
Author: Seth Vidal <skvidal@xxxxxxxxxxxxxxxxx>
Date:   Tue May 3 13:42:45 2011 -0400

    when the command is not found - make it an error response - not just silence.

diff --git a/scripts/func-command b/scripts/func-command
index 632c9a5..31865c2 100755
--- a/scripts/func-command
+++ b/scripts/func-command
@@ -48,7 +48,7 @@ def main(args):
     print mycmd
     results = fc.command.run(mycmd)
     for (hn, output) in results.items():
-        if is_error(output):
+        if is_error(output) or output[0] == 127:
             msg = 'Error: %s: ' % hn
             for item in output[1:3]:
                 if type(item) == type(''):


_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list


[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux