aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-08-13 01:17:18 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-08-13 02:02:37 +0200
commitbe1601f0caec1326c65675247dd1744818c34d19 (patch)
treefc723af3257787829512b74da7212020cfadd611
parent84f0017d93a1f62261d3d640a0111f71e993e54d (diff)
downloadcommon-data-be1601f0caec1326c65675247dd1744818c34d19.tar
common-data-be1601f0caec1326c65675247dd1744818c34d19.tar.gz
common-data-be1601f0caec1326c65675247dd1744818c34d19.tar.bz2
common-data-be1601f0caec1326c65675247dd1744818c34d19.tar.xz
common-data-be1601f0caec1326c65675247dd1744818c34d19.zip
add parenthesis
-rwxr-xr-xsbin/chksession2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/chksession b/sbin/chksession
index f7b7c7c..baecddc 100755
--- a/sbin/chksession
+++ b/sbin/chksession
@@ -70,7 +70,7 @@ while ($ARGV[0] =~ /^--/ || $ARGV[0] =~ /^-/) {
# Parse all relevant files in session directory $dir
$dir = $test ? './xsessions/' : '/usr/share/xsessions/' unless $dir;
-chdir $dir;
+chdir($dir);
foreach (glob("*.desktop")) {
parse_file($_);
}