aboutsummaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorLuc Menut <lmenut@mageia.org>2015-01-07 23:50:15 +0100
committerLuc Menut <lmenut@mageia.org>2015-01-07 23:50:15 +0100
commit7913d346093446190715a7bb9f1f1ff9c0974164 (patch)
treec7d3cad067694bb7957e072cfdfb23fd5971bb91 /sbin
parent09571e02c8273dbef5fb822145563a064051acac (diff)
downloadcommon-data-7913d346093446190715a7bb9f1f1ff9c0974164.tar
common-data-7913d346093446190715a7bb9f1f1ff9c0974164.tar.gz
common-data-7913d346093446190715a7bb9f1f1ff9c0974164.tar.bz2
common-data-7913d346093446190715a7bb9f1f1ff9c0974164.tar.xz
common-data-7913d346093446190715a7bb9f1f1ff9c0974164.zip
sbin/chksession: don't set wrong DesktopNames if DESKTOPNAMES is
not defined
Diffstat (limited to 'sbin')
-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;