Skip to content

Commit 9ba36a6

Browse files
committed
Use verbose_print for updating sudo cached credentials notice
1 parent ff628fc commit 9ba36a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ function check_superuser() {
349349
superuser=true
350350
elif [[ -z ${1-} ]]; then
351351
if check_binary sudo; then
352-
pretty_print 'Sudo: Updating cached credentials ...'
352+
verbose_print 'Sudo: Updating cached credentials ...'
353353
if ! sudo -v; then
354354
verbose_print "Sudo: Couldn't acquire credentials ..." \
355355
"${fg_red-}"

template.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ function check_superuser() {
353353
superuser=true
354354
elif [[ -z ${1-} ]]; then
355355
if check_binary sudo; then
356-
pretty_print 'Sudo: Updating cached credentials ...'
356+
verbose_print 'Sudo: Updating cached credentials ...'
357357
if ! sudo -v; then
358358
verbose_print "Sudo: Couldn't acquire credentials ..." \
359359
"${fg_red-}"

0 commit comments

Comments
 (0)