X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b56c88e2847c582f9b18ae5bbda44f033cd49c42..215f8df2be496a67942590ab2aefdad5b182fe25:/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))