From 8351a78e668da6266c0fa8d8decea4d473b24232 Mon Sep 17 00:00:00 2001 From: patvdv Date: Thu, 27 Aug 2015 17:12:29 +0200 Subject: [PATCH] Small fix --- update_sudo.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/update_sudo.pl b/update_sudo.pl index 4bc4341..3c2f4f7 100644 --- a/update_sudo.pl +++ b/update_sudo.pl @@ -44,7 +44,7 @@ use File::Temp qw(tempfile); # ------------------------- CONFIGURATION starts here ------------------------- # define the V.R.F (version/release/fix) -my $MY_VRF = "1.1.1"; +my $MY_VRF = "1.1.2"; # name of global configuration file (no path, must be located in the script directory) my $global_config_file = "update_sudo.conf"; # name of localized configuration file (no path, must be located in the script directory) @@ -55,7 +55,7 @@ my $selinux_context = "etc_t"; # initialize variables my ($debug, $verbose, $preview, $global, $use_fqdn) = (0,0,0,0,0); my (@config_files, $fragments_dir, $visudo_bin, $immutable_self_file, $immutable_self_cmd); -my (%options, %aliases, %frags, @grants); +my (%options, @uname, %aliases, %frags, @grants); my ($os, $host, $hostname, $run_dir); my ($selinux_status, $selinux_context, $has_selinux) = ("","",0); $|++; @@ -742,4 +742,5 @@ S< >Show version of the script. @(#) 2014-12-16: VRF 1.0.2: fixed a problem with the immutable self fragment code [Patrick Van der Veken] @(#) 2015-02-02: VRF 1.0.3: changed 'basename' into 'fileparse' call to support fragment files with extensions [Patrick Van der Veken] @(#) 2015-08-18: VRF 1.1.0: replace uname/hostname syscalls, now support for FQDN via $use_fqdn, other fixes [Patrick Van der Veken] -@(#) 2015-08-26: VRF 1.1.1: small and not so small fixes [Patrick Van der Veken] \ No newline at end of file +@(#) 2015-08-26: VRF 1.1.1: small and not so small fixes [Patrick Van der Veken] +@(#) 2015-08-27: VRF 1.1.2: small fix [Patrick Van der Veken]