]> git.ipfire.org Git - people/ms/u-boot.git/commit
env: Avoid clobbering an edited variable on ctrl-c
authorJoe Hershberger <joe.hershberger@ni.com>
Fri, 8 Feb 2013 10:12:34 +0000 (10:12 +0000)
committerTom Rini <trini@ti.com>
Mon, 4 Mar 2013 19:19:56 +0000 (14:19 -0500)
commit18a3cce9fa9030e0e1fe0678ddcd0ae84d9423ca
tree653ffc1e57065f55a7fffd46693f29182190ca3b
parent949a77109747d5db7d559359d3ec24bade653be8
env: Avoid clobbering an edited variable on ctrl-c

If readline says there was an error, don't write to the variable!

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
common/cmd_nvedit.c