@@ -253,7 +253,7 @@ static int process_locale(void) {
253253
254254 if (arg_copy_locale && arg_root ) {
255255
256- mkdir_parents (etc_localeconf , 0755 );
256+ ( void ) mkdir_parents (etc_localeconf , 0755 );
257257 r = copy_file ("/etc/locale.conf" , etc_localeconf , 0 , 0644 , 0 , 0 , COPY_REFLINK );
258258 if (r != - ENOENT ) {
259259 if (r < 0 )
@@ -278,7 +278,7 @@ static int process_locale(void) {
278278
279279 locales [i ] = NULL ;
280280
281- mkdir_parents (etc_localeconf , 0755 );
281+ ( void ) mkdir_parents (etc_localeconf , 0755 );
282282 r = write_env_file (etc_localeconf , locales );
283283 if (r < 0 )
284284 return log_error_errno (r , "Failed to write %s: %m" , etc_localeconf );
@@ -327,7 +327,7 @@ static int process_keymap(void) {
327327
328328 if (arg_copy_keymap && arg_root ) {
329329
330- mkdir_parents (etc_vconsoleconf , 0755 );
330+ ( void ) mkdir_parents (etc_vconsoleconf , 0755 );
331331 r = copy_file ("/etc/vconsole.conf" , etc_vconsoleconf , 0 , 0644 , 0 , 0 , COPY_REFLINK );
332332 if (r != - ENOENT ) {
333333 if (r < 0 )
@@ -411,7 +411,7 @@ static int process_timezone(void) {
411411 if (r < 0 )
412412 return log_error_errno (r , "Failed to read host timezone: %m" );
413413
414- mkdir_parents (etc_localtime , 0755 );
414+ ( void ) mkdir_parents (etc_localtime , 0755 );
415415 if (symlink (p , etc_localtime ) < 0 )
416416 return log_error_errno (errno , "Failed to create %s symlink: %m" , etc_localtime );
417417
@@ -429,7 +429,7 @@ static int process_timezone(void) {
429429
430430 e = strjoina ("../usr/share/zoneinfo/" , arg_timezone );
431431
432- mkdir_parents (etc_localtime , 0755 );
432+ ( void ) mkdir_parents (etc_localtime , 0755 );
433433 if (symlink (e , etc_localtime ) < 0 )
434434 return log_error_errno (errno , "Failed to create %s symlink: %m" , etc_localtime );
435435
@@ -624,7 +624,7 @@ static int process_root_password(void) {
624624 if (laccess (etc_shadow , F_OK ) >= 0 )
625625 return 0 ;
626626
627- mkdir_parents (etc_shadow , 0755 );
627+ ( void ) mkdir_parents (etc_shadow , 0755 );
628628
629629 lock = take_etc_passwd_lock (arg_root );
630630 if (lock < 0 )
0 commit comments