41955fa9ab
Use %%make_{build,install} macros Refresh other patches for proper alignment
16 lines
497 B
Diff
16 lines
497 B
Diff
Index: shadow-4.5/src/usermod.c
|
|
===================================================================
|
|
--- shadow-4.5.orig/src/usermod.c
|
|
+++ shadow-4.5/src/usermod.c
|
|
@@ -1814,6 +1814,11 @@ static void move_home (void)
|
|
Prog, user_home, user_newhome);
|
|
fail_exit (E_HOMEDIR);
|
|
}
|
|
+ } else {
|
|
+ fprintf (stderr,
|
|
+ _("%s: The previous home directory (%s) does "
|
|
+ "not exist or is inaccessible. Move cannot be completed.\n"),
|
|
+ Prog, user_home);
|
|
}
|
|
}
|
|
|