mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 05:48:18 +00:00
typo in --with-editor bits
This commit is contained in:
parent
272a9f4a15
commit
4c28e57f8b
@ -575,7 +575,7 @@ AC_ARG_WITH(exempt, [ --with-exempt=group no passwd needed for users in thi
|
|||||||
esac])
|
esac])
|
||||||
|
|
||||||
AC_MSG_CHECKING(for editor that visudo should use)
|
AC_MSG_CHECKING(for editor that visudo should use)
|
||||||
AC_ARG_WITH(editor, [ --with-editor Default editor for visudo (defaults to vi)],
|
AC_ARG_WITH(editor, [ --with-editor=path Default editor for visudo (defaults to vi)],
|
||||||
[case $with_editor in
|
[case $with_editor in
|
||||||
yes) echo "Must give --with-editor an argument."
|
yes) echo "Must give --with-editor an argument."
|
||||||
exit 1
|
exit 1
|
||||||
@ -583,7 +583,7 @@ AC_ARG_WITH(editor, [ --with-editor Default editor for visudo (defaul
|
|||||||
no) echo "Sorry, --without-editor not supported."
|
no) echo "Sorry, --without-editor not supported."
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
*) AC_DEFINE_UNQUOTED(TRIES_FOR_PASSWORD, $with_editor)
|
*) AC_DEFINE_UNQUOTED(EDITOR, $with_editor)
|
||||||
AC_MSG_RESULT([$with_editor])
|
AC_MSG_RESULT([$with_editor])
|
||||||
;;
|
;;
|
||||||
esac], [AC_DEFINE(EDITOR, _PATH_VI) AC_MSG_RESULT(vi)])
|
esac], [AC_DEFINE(EDITOR, _PATH_VI) AC_MSG_RESULT(vi)])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user