summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorTakashi Nagaya <Takashi.X.Nagaya@sony.com>2020-12-28 14:33:23 +0900
committerKoji Fukui <Koji.Fukui@sony.com>2021-01-14 20:57:09 +0900
commitf740b56f0e6896367be1cf70d63ef3ff291300fa (patch)
tree50921a6c1270b46287bcc0ac41ac06cf8935c2d5 /startop/scripts/lib/cmd_utils.py
parent539dbe61c57234512ced37daa5a284009ade50f6 (diff)
Fixed to prevent usagestats file corruption when writing
Currently, usagestats file may be currupted when writing fails. Because AtomicFile#failWrite(fos) is always called with argument null. Modify argument of this method so that it is not null when writing fails. Bug: 177501256 Change-Id: I1bb64a9af7941ab80abe3f98ad5b8ecf6d1b46d6
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions