diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2022-03-07 13:58:07 +0100 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2022-03-07 13:58:07 +0100 |
commit | 39c20b52adadd0df0abf6241b6282e1ad5ebdac6 (patch) | |
tree | f97e0f979bf7fd2067fe6554ef16d764196cfc35 /startx.cpp | |
parent | d5a136c4fa562d66efd7d20bf2ba40d1a62439fa (diff) | |
parent | 71a8997cad602ef0adc9fed110e8a04d2a8fc8dc (diff) |
Merge remote-tracking branch 'origin/master' into obsd
Diffstat (limited to 'startx.cpp')
-rw-r--r-- | startx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -206,7 +206,7 @@ if [ x"$server" = x ]; then XCOMM "https://bugzilla.redhat.com/show_bug.cgi?id=806491" tty=$(tty) if expr "$tty" : '/dev/tty[0-9][0-9]*$' > /dev/null; then - tty_num=$(echo "$tty" | grep -oE '[0-9]+$') + tty_num=${tty#/dev/tty} vtarg="vt$tty_num -keeptty" fi #endif |