From 9391a1c3d6c94c478b0016a81df3f874fd99260e Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 3 Jun 2015 14:00:59 +0200 Subject: systemctl: Use /usr/bin/editor if available If the EDITOR environment variable is not set, the Debian policy recommends to use the /usr/bin/editor program as default editor. This file is managed via the dpkg alternatives mechanism and typically used in Debian/Ubuntu and derivatives to configure the default editor. See section 11.4 of the Debian policy [1]. Therefor prefer /usr/bin/editor over specific editors if available. [1] https://www.debian.org/doc/debian-policy/ch-customized-programs.html --- man/systemctl.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'man/systemctl.xml') diff --git a/man/systemctl.xml b/man/systemctl.xml index 35f47de52c..409b6f0895 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -1733,6 +1733,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service $VISUAL are present or if it is set to an empty string or if their execution failed, systemctl will try to execute well known editors in this order: + editor1, nano1, vim1, vi1. -- cgit v1.2.3-54-g00ecf