]> granicus.if.org Git - sudo/commit
Check EDITOR/VISUAL to make sure sudoedit is not re-invoking itself or sudo.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 14 Sep 2008 20:07:49 +0000 (20:07 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 14 Sep 2008 20:07:49 +0000 (20:07 +0000)
commit8fa4ef591cff2437fa09f2e4f769a3959fcbb676
tree52332c779e8222b252bba6614a3187b80a811985
parentb02daa8272d6fc1c7dc46746d8d1d968c58f8e33
Check EDITOR/VISUAL to make sure sudoedit is not re-invoking itself or sudo.
This allows one to set EDITOR to sudoedit without getting into an infinite
loop of sudoedit running itself until the path gets too big.
sudo_edit.c