mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 18:27:04 +03:00
machinectl: remove dead code
'r' is not touched after the previous error-checking 100 lines above. Drop that code.
This commit is contained in:
parent
bf66fe2682
commit
06a079055a
@ -250,9 +250,6 @@ static int list_images(int argc, char *argv[], void *userdata) {
|
||||
(int) max_mtime, strna(format_timestamp(mtime_buf, sizeof(mtime_buf), images[j].mtime)));
|
||||
}
|
||||
|
||||
if (r < 0)
|
||||
return bus_log_parse_error(r);
|
||||
|
||||
|
||||
if (arg_legend)
|
||||
printf("\n%zu images listed.\n", n_images);
|
||||
|
Loading…
Reference in New Issue
Block a user