From c5a8ad574d865951940a4a1d65d5008cbc84d302 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Mon, 14 Jan 2002 10:37:05 +0000 Subject: Remove space in name. --- sbin/chksession | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/chksession b/sbin/chksession index 3fbd150..6ce62d6 100644 --- a/sbin/chksession +++ b/sbin/chksession @@ -30,7 +30,7 @@ sub parse_file { open F, $f or die "Can't open $f\n"; local $/ = ""; while () { - $n = $1 if /^NAME=(.*)/m; + ($n = $1) =~ s| ||g if /^NAME=(.*)/m; $e = $1 if /^EXEC=(.*)/m; # $d = $1 if /^DESC=(.*)/m; # $i = $1 if /^ICON=(.*)/m; -- cgit v1.2.1