From c60bcd902db9868420ffc1581dff91d1103eca19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Galv=C3=A3o?= Date: Sat, 25 May 2019 18:22:54 +0100 Subject: [PATCH] list_loaded_launchjob_ids: add sudo prompt --- developer/bin/list_loaded_launchjob_ids | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer/bin/list_loaded_launchjob_ids b/developer/bin/list_loaded_launchjob_ids index 362b7d4ba8..5047c4f47b 100755 --- a/developer/bin/list_loaded_launchjob_ids +++ b/developer/bin/list_loaded_launchjob_ids @@ -19,7 +19,7 @@ if [[ "${1}" =~ ^(-h|--help)$ ]]; then exit 0 fi -(sudo -- /bin/launchctl list && /bin/launchctl list) | \ +(sudo -p 'The system password is required to see all launchd jobs: ' -- /bin/launchctl list && /bin/launchctl list) | \ /usr/bin/cut -f3 | \ /usr/bin/grep --invert-match '^Label$' | \ /usr/bin/grep --invert-match '^com\.apple\.' | \