projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba6bd34
)
repart: drop redundant ()
author
Lennart Poettering
<lennart@poettering.net>
Fri, 29 Sep 2023 14:18:22 +0000
(16:18 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 5 Oct 2023 17:06:26 +0000
(19:06 +0200)
src/partition/repart.c
patch
|
blob
|
history
diff --git
a/src/partition/repart.c
b/src/partition/repart.c
index 094851445531997e033d246571f2e41d04da57d7..1fdc628f951d879a1412c087bb1faef713c0cf42 100644
(file)
--- a/
src/partition/repart.c
+++ b/
src/partition/repart.c
@@
-6815,7
+6815,7
@@
static int parse_argv(int argc, char *argv[]) {
if (!arg_dry_run)
arg_pager_flags |= PAGER_DISABLE;
- if (arg_empty == EMPTY_CREATE &&
(arg_size == UINT64_MAX && !arg_size_auto)
)
+ if (arg_empty == EMPTY_CREATE &&
arg_size == UINT64_MAX && !arg_size_auto
)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
"If --empty=create is specified, --size= must be specified, too.");