equal
deleted
inserted
replaced
147 s_eth_init(); |
147 s_eth_init(); |
148 #endif /* linux */ |
148 #endif /* linux */ |
149 |
149 |
150 if (command_line.s_param.savefile) |
150 if (command_line.s_param.savefile) |
151 { |
151 { |
152 savefile = open(command_line.s_param.savefile, O_CREAT | O_RDWR, 0666); |
152 savefile = open(command_line.s_param.savefile, |
|
153 O_CREAT | O_TRUNC | O_RDWR, 0666); |
153 } |
154 } |
154 |
155 |
155 child = fork_app(command_line.s_param.command); |
156 child = fork_app(command_line.s_param.command); |
156 |
157 |
157 if (command_line.s_param.nohup) |
158 if (command_line.s_param.nohup) |