diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-04-12 18:16:51 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-04-12 18:16:51 +0200 |
commit | c3d8b2fd890d7e486d8643957268c03df61657db (patch) | |
tree | 06349416d7a2cb6489546f708720375fdace0266 | |
parent | 3ff3b0f854fe6f14d5f7f8b8cd7bf91fc2abcaef (diff) |
dhcptailer: Remove $tgname dependency
Ok, so this means we're bugged if an event is during new year's eve.
-rwxr-xr-x | clients/dhcptail.pl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/clients/dhcptail.pl b/clients/dhcptail.pl index 9c2111f..e5d7d4a 100755 --- a/clients/dhcptail.pl +++ b/clients/dhcptail.pl @@ -9,13 +9,9 @@ use warnings; BEGIN { require "../include/config.pm"; - eval { - require "../include/config.local.pm"; - }; } -my $year = $nms::config::tgname; -$year =~ s/tg/20/; # hihi +my (undef,undef,undef,undef,undef,$year,undef,undef,undef) = gmtime(time); my %months = ( Jan => 1, |