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

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