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 51ece5e commit 2d612999e0fcbd89a78bc38f7ce8bea0712f522d
@Sascha Hauer Sascha Hauer authored on 23 Oct 2014
Showing 1 changed file
View
commands/saveenv.c