From a73acc645de0f7c885d28c84a510d0bba7f76629 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 26 Apr 2011 18:29:08 +0000 Subject: [PATCH] Note why xcatd spews errors sometimes for me git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 9a4be8d01..d6c814a2f 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -1044,6 +1044,8 @@ sub plugin_command { $$progname=$oldprogname.": $modname instance"; if ($sock) { close $pfd; } unless ($handler_hash{$_} == 1) { + #ok, if nodes have numbers, this sorts them numerically... roughly.. + #if node doesn't, then it spews a message, need to fix my @nodes = sort {($a =~ /(\d+)/)[0] <=> ($b =~ /(\d+)/)[0] || $a cmp $b } (keys %{$handler_hash{$_}}); $req->{node}=\@nodes; }