projects
/
grml-unittests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b48dc
)
Code cleanup, [ .. -o .. ] is not posix :/
author
Ulrich Dangel
<uli@spamt.net>
Thu, 25 Mar 2010 23:20:25 +0000
(
00:20
+0100)
committer
Ulrich Dangel
<uli@spamt.net>
Thu, 25 Mar 2010 23:20:25 +0000
(
00:20
+0100)
framework.sh
patch
|
blob
|
history
diff --git
a/framework.sh
b/framework.sh
index
eab4958
..
75f56d6
100644
(file)
--- a/
framework.sh
+++ b/
framework.sh
@@
-35,9
+35,7
@@
trap bailout QUIT INT EXIT
COMMON_PORT=0
STATUS_PORT=0
-while [ $COMMON_PORT -lt 1024
-o
$STATUS_PORT -lt 1024 ] ; do
+while [ $COMMON_PORT -lt 1024
] || [
$STATUS_PORT -lt 1024 ] ; do
COMMON_PORT=$RANDOM
STATUS_PORT=$RANDOM
-
-
done