diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/util.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/shared/util.c b/src/shared/util.c index aaf109ea63..882a6908f2 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -3612,9 +3612,6 @@ char *fstab_node_to_udev_node(const char *p) { bool tty_is_vc(const char *tty) { assert(tty); - if (startswith(tty, "/dev/")) - tty += 5; - return vtnr_from_tty(tty) >= 0; } |