saveenv: Fix saving to specified file
Since e805b7d saveenv: provide a zeroed/empty/ignore environment
barebox no longer honors the file argument when the directory
argument is also givin. Fix this.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9ab02e4 commit 15f8f9282e58ce4421c645528419e8d7a2a8f0b4
@Sascha Hauer Sascha Hauer authored on 23 Oct 2014
Showing 1 changed file
View
commands/saveenv.c