From e7e045a40d88fa5c238ccfb64c8a18dae95ad00d Mon Sep 17 00:00:00 2001 From: Pierre Kuhner Date: Thu, 14 Jan 2021 09:24:45 +0100 Subject: [PATCH] fix: confusing error messages in groupDelServer --- bin/plugin/group-aclkeeper/groupDelServer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/plugin/group-aclkeeper/groupDelServer b/bin/plugin/group-aclkeeper/groupDelServer index 2cbb13e..7b6dd05 100755 --- a/bin/plugin/group-aclkeeper/groupDelServer +++ b/bin/plugin/group-aclkeeper/groupDelServer @@ -62,7 +62,7 @@ $user = '!scpdownload' if $scpDown; if (not $user and not $userAny) { help(); - osh_exit 'ERR_MISSING_PARAMETER', "No user specified, if you want to add this server with any user, add --user-any"; + osh_exit 'ERR_MISSING_PARAMETER', "No user specified, if any remote login was allowed, add --user-any"; } if ($portAny and $port) { @@ -72,7 +72,7 @@ if ($portAny and $port) { if (not $port and not $portAny) { help(); - osh_exit 'ERR_MISSING_PARAMETER', "No port specified, if you want to add this server with any port, add --port-any"; + osh_exit 'ERR_MISSING_PARAMETER', "No port specified, if any remote port was allowed, add --port-any"; } $fnret = OVH::Bastion::is_valid_group_and_existing(group => $group, groupType => "key");