1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 02:57:16 +03:00

firstboot: silence a warning

No change in behavoir as the fallthrough from ARG_COPY had already
set arg_copy_locale to true.

Found with coverity. Fixes: CID#1237622
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2014-09-11 21:29:59 +02:00
parent 807d0cca2b
commit e926f6475d

View File

@ -856,6 +856,7 @@ static int parse_argv(int argc, char *argv[]) {
case ARG_COPY:
arg_copy_locale = arg_copy_timezone = arg_copy_root_password = true;
break;
case ARG_COPY_LOCALE:
arg_copy_locale = true;