File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 79
79
80
80
DEVELOPER=$( grep ' ^DEVELOPER=' config.vars | cut -d= -f2-)
81
81
82
- if [ $DEVELOPER = 1 ]; then
82
+ if [ " $DEVELOPER " = 1 ]; then
83
83
LIGHTNINGD=" ./lightningd/lightningd --network=regtest --dev-gossip-time=1550513768 --dev-unknown-channel-satoshis=100000"
84
84
else
85
85
# Means we can't do the peer_read_all test properly, since it will time out.
@@ -117,7 +117,7 @@ if [ -z "${TARGETS##* vsz_kb *}" ]; then
117
117
fi
118
118
119
119
# How long does rewriting the store take?
120
- if [ -z " ${TARGETS##* store_rewrite_sec * } " -a " $DEVELOPER " = 1 ]; then
120
+ if [ -z " ${TARGETS##* store_rewrite_sec * } " ] && [ " $DEVELOPER " = 1 ]; then
121
121
# shellcheck disable=SC2086
122
122
/usr/bin/time --append -f %e $LCLI1 dev-compact-gossip-store 2>&1 > /dev/null | print_stat store_rewrite_sec
123
123
fi
154
154
155
155
# Needs DEVELOPER otherwise timestamps will be more than 2 weeks old and it
156
156
# will ignore gossip.
157
- if [ -z " ${TARGETS##* peer_read_all_sec * } " -a " $DEVELOPER " = 1 ]; then
157
+ if [ -z " ${TARGETS##* peer_read_all_sec * } " ] && [ " $DEVELOPER " = 1 ]; then
158
158
# shellcheck disable=SC2086
159
159
$LCLI1 stop > /dev/null
160
160
sleep 5
You can’t perform that action at this time.
0 commit comments