diff --git a/awit-ssh b/awit-ssh index 71b58bd2fdfd71f4f054359d5173b39d4a457f1b..2dfc2882aa899c37a3ee1e6bfd404d334c7fa0f9 100755 --- a/awit-ssh +++ b/awit-ssh @@ -54,7 +54,7 @@ use User::pwent; my $NAME = "AWIT-SSH-Client"; -our $VERSION = "0.7.0"; +our $VERSION = "0.7.1"; print(STDERR "$NAME v$VERSION - Copyright (c) 2016, AllWorldIT\n\n"); @@ -315,7 +315,7 @@ if ($ldapNumResults < 1) { exit 3; } print STDERR "\n"; - $menuSelection--; + $menuSelection = $menuSelection->{'value'} - 1; $ldapEntry = $ldapResults[$menuSelection]; }