From 41bea5122c5faca27d294b1954eed12bf851439a Mon Sep 17 00:00:00 2001 From: zacheiss Date: Thu, 29 Nov 2007 22:56:02 +0000 Subject: [PATCH] Don't include 'NONE' in the list of possible things to do a ghbo/guas for, because we don't support it. --- clients/moira/cluster.c | 2 +- clients/moira/user.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/moira/cluster.c b/clients/moira/cluster.c index e6f657c9..2277ae06 100644 --- a/clients/moira/cluster.c +++ b/clients/moira/cluster.c @@ -2042,7 +2042,7 @@ int MachineByOwner(int argc, char **argv) struct mqelem *top; type = strdup("USER"); - if (GetTypeFromUser("Type of owner", "ace_type", &type) == SUB_ERROR) + if (GetTypeFromUser("Type of owner", "search_ace_type", &type) == SUB_ERROR) return DM_NORMAL; sprintf(buf, "Name of %s", type); diff --git a/clients/moira/user.c b/clients/moira/user.c index 69ab7b73..5c23db43 100644 --- a/clients/moira/user.c +++ b/clients/moira/user.c @@ -1181,7 +1181,7 @@ int UserBySponsor(int argc, char **argv) struct mqelem *top; type = strdup("USER"); - if (GetTypeFromUser("Type of sponsor", "ace_type", &type) == SUB_ERROR) + if (GetTypeFromUser("Type of sponsor", "search_ace_type", &type) == SUB_ERROR) return DM_NORMAL; sprintf(buf, "Name of %s", type); -- 2.45.2