diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-02-18 12:59:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-02-18 12:59:30 +0100 |
commit | 19b6eb9d5fd0c01ffcd3d679f92c31b1dc2e6d87 (patch) | |
tree | 5d63dc3a198c0133e003c3cf8260aecb3a9fd29e /commands | |
parent | 1e3859d8d6d0d4dfb7b5a54113b894768ad89d16 (diff) | |
parent | 54d8d7cc75d28a9dae17ee96e389e0848c530ae8 (diff) | |
download | barebox-19b6eb9d5fd0c01ffcd3d679f92c31b1dc2e6d87.tar.gz barebox-19b6eb9d5fd0c01ffcd3d679f92c31b1dc2e6d87.tar.xz |
Merge branch 'for-next/tests'
Diffstat (limited to 'commands')
-rw-r--r-- | commands/of_diff.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/of_diff.c b/commands/of_diff.c index fa99fcd641..6a78263200 100644 --- a/commands/of_diff.c +++ b/commands/of_diff.c @@ -77,9 +77,7 @@ static int do_of_diff(int argc, char *argv[]) goto out; } - of_diff(a, b, 0); - - ret = 0; + ret = of_diff(a, b, 0) ? COMMAND_ERROR : COMMAND_SUCCESS; out: if (a && a != root) of_delete_node(a); |