chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d6666
)
do not install persist during simulation
author
ian
<ian>
Sun, 4 May 2008 16:03:00 +0000
(16:03 +0000)
committer
ian
<ian>
Sun, 4 May 2008 16:03:00 +0000
(16:03 +0000)
hostside/startup.c
patch
|
blob
|
history
diff --git
a/hostside/startup.c
b/hostside/startup.c
index 71a9823e83dc55b0422224b47e1d1d722757953e..1a9c6802e61d3f17c14ffca6929f22877f5e7213 100644
(file)
--- a/
hostside/startup.c
+++ b/
hostside/startup.c
@@
-97,7
+97,8
@@
static void sta_goto(StartupState new_state) {
/* resolve_motioncheck will move us to Run eventually, we hope */
break;
case Sta_Run:
- persist_install();
+ if (!simulate)
+ persist_install();
retransmit_start();
break;
}