diff options
Diffstat (limited to 't')
-rw-r--r-- | t/t0011-active-unix-socket.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0011-active-unix-socket.sh b/t/t0011-active-unix-socket.sh index 6f9ac53..d256f5c 100644 --- a/t/t0011-active-unix-socket.sh +++ b/t/t0011-active-unix-socket.sh @@ -7,7 +7,7 @@ read_pid_unix () { socat - UNIX:$unix_socket | \ tail -1) test -n "$x" - y="$(expr "$x" : '\([0-9]\+\)')" + y="$(expr "$x" : '\([0-9][0-9]*\)')" test x"$x" = x"$y" test -n "$y" echo "$y" |