From 5dfa832eadb2e5cb0fe5d5e6c7d5849c970f835a Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 6 Dec 1993 01:34:40 +0000 Subject: [PATCH] added STATICEDITOR --- visudo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/visudo.c b/visudo.c index e8546baad..13366b247 100644 --- a/visudo.c +++ b/visudo.c @@ -104,8 +104,10 @@ main(argc, argv) /* * set up the Editor variable correctly */ +#ifndef STATICEDITOR if ( (Editor = getenv("EDITOR")) == NULL) if ( (Editor = getenv("VISUAL")) == NULL ) +#endif /* !STATICEDITOR */ Editor = EDITOR; /* -- 2.50.1