chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bf66fe2
)
machinectl: remove dead code
author
David Herrmann
<dh.herrmann@gmail.com>
Wed, 31 Dec 2014 14:52:23 +0000
(15:52 +0100)
committer
David Herrmann
<dh.herrmann@gmail.com>
Wed, 31 Dec 2014 14:52:23 +0000
(15:52 +0100)
'r' is not touched after the previous error-checking 100 lines above. Drop
that code.
src/machine/machinectl.c
patch
|
blob
|
history
diff --git
a/src/machine/machinectl.c
b/src/machine/machinectl.c
index 0abc251cf808f1815ea40939b1184b682b6a8b9f..b1d170787b28c5c2f121f7491579b8ccda6e216c 100644
(file)
--- a/
src/machine/machinectl.c
+++ b/
src/machine/machinectl.c
@@
-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);