summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Xconfig/various.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/various.pm b/lib/Xconfig/various.pm
index 32db2fa..d2eb74e 100644
--- a/lib/Xconfig/various.pm
+++ b/lib/Xconfig/various.pm
@@ -231,7 +231,7 @@ sub runlevel {
if (!$::testing && -f $t) {
my $d = "$::prefix/etc/systemd/system/default.target";
unlink($d);
- symlink($t, "$::prefix/etc/systemd/system/default.target");
+ symlink($t, $d);
}
} else {
cat_($f) =~ /^id:(\d):initdefault:\s*$/m && $1;