Bug#181541: libc6: devpts.sh fails due to bad quoting
Package: libc6
Version: 2.3.1-11
Severity: normal
Hi there!
>From /etc/init.d/devpts.sh:
devfs_mounted=`grep -qci '[<[:space:]]/dev[>[:space:]].*devfs' /proc/mounts || true`
[...]
if [ $devfs_mounted = 0 ] && [ $devpts_avail != 0 ]
this fails on my system with
devpts.sh:17: [: =: unary operator expected
since the grep call does not return anything.
It probably should be if [ "$devfs_mounted" ...], no?
Greetings,
-- Jorgen
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux forcix 2.4.20-k7 #1 Tue Jan 14 00:29:06 EST 2003 i686
Locale: LANG=C, LC_CTYPE=de_DE
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl
-- no debconf information
Reply to: