summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlain Kalker <a.c.kalker@gmail.com>2016-09-29 18:46:08 +0200
committerJuan RP <xtraeme@gmail.com>2016-09-29 18:46:08 +0200
commit24df16b0f709f5217405e603e2c304c54592a632 (patch)
tree91c2b31b58e8c8da611dd562cc275117e58bab20
parenta082284efd1a99cf2191e425a2afd6233103823a (diff)
downloadrunit-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.
-rw-r--r--services/agetty-serial/conf2
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