Skip to content

Commit

Permalink
eva_to_memory: modify logfile name a bit (opt.)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPawn committed Mar 9, 2018
1 parent 411410d commit 8e08c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eva_tools/eva_to_memory
Expand Up @@ -28,7 +28,7 @@ outstream=7
instream=8
upstream=9
logstream=3
logfile=$0.log
logfile=${EVA_LOG:-$0.log}
envfile=$tmpdir/env
startaddress=0x80000000
#
Expand Down Expand Up @@ -178,7 +178,7 @@ upload_image()
cat $file >$storefifo
line="$(read_ftp_response $instream $log)"
ec=${line:0:3}
if [ x$ec == x226 ]; then
if [ x$ec == x226 ] || [ x$ec == x553 ]; then
if [ -d /proc/$data_connection ]; then
kill $data_connection 2>/dev/null &
wait $data_connection 2>/dev/null
Expand Down

0 comments on commit 8e08c3e

Please sign in to comment.