diff options
author | Alain Kalker <a.c.kalker@gmail.com> | 2016-09-29 18:46:08 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2016-09-29 18:46:08 +0200 |
commit | 24df16b0f709f5217405e603e2c304c54592a632 (patch) | |
tree | 91c2b31b58e8c8da611dd562cc275117e58bab20 /services/agetty-serial/conf | |
parent | a082284efd1a99cf2191e425a2afd6233103823a (diff) | |
download | runit-void-24df16b0f709f5217405e603e2c304c54592a632.tar.gz runit-void-24df16b0f709f5217405e603e2c304c54592a632.tar.xz runit-void-24df16b0f709f5217405e603e2c304c54592a632.zip |
Fix always succeeding test (#60)
`test /bin/agetty` always succeeds because '/bin/agetty' is a non-empty string.
Diffstat (limited to 'services/agetty-serial/conf')
-rw-r--r-- | services/agetty-serial/conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/agetty-serial/conf b/services/agetty-serial/conf index 6c3d032..e99c38e 100644 --- a/services/agetty-serial/conf +++ b/services/agetty-serial/conf @@ -1,5 +1,5 @@ GETTY_ARGS="-L" -if [ -x /sbin/agetty -o /bin/agetty ]; then +if [ -x /sbin/agetty -o -x /bin/agetty ]; then # util-linux specific settings GETTY_ARGS="${GETTY_ARGS} -8" fi |