The two code paths are unfortunate. Factor out the difference and use a single run_cmd invocation. This also adds the forgotten -q when using a reference directory. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
The two code paths are unfortunate. Factor out the difference and use a single run_cmd invocation. This also adds the forgotten -q when using a reference directory. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>