2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-03 15:55:40 +00:00

added STATICEDITOR

This commit is contained in:
Todd C. Miller
1993-12-06 01:34:40 +00:00
parent b114ace5f9
commit 5dfa832ead

View File

@@ -104,8 +104,10 @@ main(argc, argv)
/* /*
* set up the Editor variable correctly * set up the Editor variable correctly
*/ */
#ifndef STATICEDITOR
if ( (Editor = getenv("EDITOR")) == NULL) if ( (Editor = getenv("EDITOR")) == NULL)
if ( (Editor = getenv("VISUAL")) == NULL ) if ( (Editor = getenv("VISUAL")) == NULL )
#endif /* !STATICEDITOR */
Editor = EDITOR; Editor = EDITOR;
/* /*