summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/standalone/autosetupprintqueues4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/standalone/autosetupprintqueues b/perl-install/standalone/autosetupprintqueues
index 660032b15..2f9af40a2 100755
--- a/perl-install/standalone/autosetupprintqueues
+++ b/perl-install/standalone/autosetupprintqueues
@@ -34,7 +34,9 @@ $gui = "nogui" if (! -x "/usr/X11R6/bin/X");
if ($gui ne "nogui") {
# Auto-detect whether we go in non-X mode or not
- my $desktopuser = `cat /var/run/console.lock 2>/dev/null`;
+ my $desktopuser;
+ $desktopuser = `cat /var/run/console.lock 2>/dev/null` or
+ $desktopuser = `cat /var/run/console/console.lock 2>/dev/null`;
if (!$desktopuser) {
if ($gui eq "auto") {
# Non-X mode