diff --git a/src/rcfile.c b/src/rcfile.c index 3df71e82d2be9c643b77d0a804c45587c7f3d075..e15379c90d52fe9a43c821cdfd92c2f8c58dfd0b 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -667,7 +667,7 @@ void do_rcfile(void) if (!ISSET(NO_RCFILE)) { #if defined(DISABLE_ROOTWRAP) && !defined(DISABLE_WRAPPING) - /* If we've already read $SYSCONFDIR/nanorc (if it's there), we're + /* If we've already read SYSCONFDIR/nanorc (if it's there), we're root, and --disable-wrapping-as-root is used, turn wrapping off */ if (euid == 0) SET(NO_WRAP);