aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/chksession
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/chksession')
-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($_);
}