execute: use path_equal() to compare tty names
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Mar 2019 20:18:59 +0000 (21:18 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Mar 2019 20:18:59 +0000 (21:18 +0100)
commit955f1c852edef4c925ae021d49257c09573abb2c
tree424bfea4eeacc1dfdf09da616c9505ef33477551
parent4bf953d91b02148c6afac19a2360e0d92b203708
execute: use path_equal() to compare tty names

After all they might be strings such as pts/1 which we really should
consider the same as pts//1.
src/core/execute.c