diff options
author | Luc Menut <lmenut@mageia.org> | 2015-01-07 23:50:15 +0100 |
---|---|---|
committer | Luc Menut <lmenut@mageia.org> | 2015-01-07 23:50:15 +0100 |
commit | 7913d346093446190715a7bb9f1f1ff9c0974164 (patch) | |
tree | c7d3cad067694bb7957e072cfdfb23fd5971bb91 /sbin | |
parent | 09571e02c8273dbef5fb822145563a064051acac (diff) | |
download | common-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/chksession | 2 |
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; |