From 592a6482a869eeb2f422e15fdb1000e615ac1c92 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Mon, 21 Jan 2013 23:08:30 +0100 Subject: [PATCH] niceload: uniq bug when pressing Ctrl-C. --- src/niceload | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/niceload b/src/niceload index 870ac2af..4ee269e5 100755 --- a/src/niceload +++ b/src/niceload @@ -24,7 +24,7 @@ use strict; use Getopt::Long; $Global::progname="niceload"; -$Global::version = 20121222; +$Global::version = 20130117; Getopt::Long::Configure("bundling","require_order"); get_options_from_array(\@ARGV) || die_usage(); if($opt::version) { @@ -310,7 +310,7 @@ sub pgrp { for(@{$self->{'pids'}}) { push @pgrp,-getpgrp($_); } - @pgrp = uniq(@pgrp); + @pgrp = ::uniq(@pgrp); @{$self->{'pgrp'}} = @pgrp; } return @{$self->{'pgrp'}};