X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b56c88e2847c582f9b18ae5bbda44f033cd49c42..f2d4f32f6dd5a586d0f160a34467cdc8b9151317:/uip/install-mh.c diff --git a/uip/install-mh.c b/uip/install-mh.c index 12377352..2240f870 100644 --- a/uip/install-mh.c +++ b/uip/install-mh.c @@ -166,7 +166,9 @@ query: } } - chdir (mypath); + if (chdir (mypath) < 0) { + advise (mypath, "chdir"); + } if (chdir (pathname) == NOTOK) { cp = concat ("\"", pathname, "\" doesn't exist; Create it? ", NULL); if (autof || gans (cp, anoyes))