Blame SOURCES/shadow-4.6-move-home.patch

b8f1b8
diff -up shadow-4.6/src/usermod.c.move-home shadow-4.6/src/usermod.c
b8f1b8
--- shadow-4.6/src/usermod.c.move-home	2018-05-28 14:59:05.594076665 +0200
b8f1b8
+++ shadow-4.6/src/usermod.c	2018-05-28 15:00:28.479837392 +0200
b8f1b8
@@ -1845,6 +1845,11 @@ static void move_home (void)
b8f1b8
 			         Prog, prefix_user_home, prefix_user_newhome);
b8f1b8
 			fail_exit (E_HOMEDIR);
b8f1b8
 		}
b8f1b8
+	} else {
b8f1b8
+		fprintf (stderr,
b8f1b8
+		         _("%s: The previous home directory (%s) does "
b8f1b8
+		           "not exist or is inaccessible. Move cannot be completed.\n"),
b8f1b8
+		         Prog, prefix_user_home);
b8f1b8
 	}
b8f1b8
 }
b8f1b8