diff options
author | Eric Anholt <eric@anholt.net> | 2007-09-04 13:05:47 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-09-04 13:05:47 -0700 |
commit | 2640fb97a42e0d91603defc0f37388735c56a54d (patch) | |
tree | 815387bef4de82299a97181dc18a9a9d96ca9bfa /startx.cpp | |
parent | fc6cc81be41af58ffd996994e1325dd072a9ab34 (diff) |
Fix broken test for /dev/random cookie generation failure.
Diffstat (limited to 'startx.cpp')
-rw-r--r-- | startx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -189,7 +189,7 @@ authdisplay=${display:-:0} mcookie=`MK_COOKIE` #else mcookie=`dd if=/dev/random bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"` -if x"$mcookie" = x; then +if test x"$mcookie" = x; then echo "Couldn't create cookie" exit 1 fi |