aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/chksession2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/chksession b/sbin/chksession
index 0bbd8e9..46a6071 100644
--- a/sbin/chksession
+++ b/sbin/chksession
@@ -49,7 +49,7 @@ sub parse_file { # parse a session descriptor file
$_ = cat ($fn);
($n = $1) =~ s| ||g if /^NAME=(.*)/m;
$e = $1 if /^EXEC=(.*)/m;
- $dn = $1 if /^DESKTOPNAMES=(.*)/m;
+ my $dn = $1 if /^DESKTOPNAMES=(.*)/m;
# $d = $1 if /^DESC=(.*)/m;
# $i = $1 if /^ICON=(.*)/m;
$s = $1 while /SCRIPT:(.*?)$/gs; chomp $s;