From 24df16b0f709f5217405e603e2c304c54592a632 Mon Sep 17 00:00:00 2001 From: Alain Kalker Date: Thu, 29 Sep 2016 18:46:08 +0200 Subject: Fix always succeeding test (#60) `test /bin/agetty` always succeeds because '/bin/agetty' is a non-empty string. --- services/agetty-serial/conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1