mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
test-execute: unset $HOME before testing
Otherwise, test for %h specifier may fail. Fixes #11609.
This commit is contained in:
parent
118dccc948
commit
3285320786
@ -770,6 +770,7 @@ int main(int argc, char *argv[]) {
|
||||
(void) unsetenv("USER");
|
||||
(void) unsetenv("LOGNAME");
|
||||
(void) unsetenv("SHELL");
|
||||
(void) unsetenv("HOME");
|
||||
|
||||
can_unshare = have_namespaces();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user