mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
using short flags instead with validate
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
This commit is contained in:
parent
948870b584
commit
11746bcc19
@ -165,7 +165,7 @@ else
|
||||
echo 'No need to refresh sudo credentials'
|
||||
else
|
||||
echo 'Updating sudo credentials'
|
||||
sudo --validate || exit 1
|
||||
sudo -v || exit 1
|
||||
fi
|
||||
|
||||
# Do not use any network plugin by default. User could override the flags with
|
||||
|
@ -34,7 +34,7 @@ elif sudo --non-interactive "$(which bash)" -c true 2> /dev/null; then
|
||||
echo 'No need to refresh sudo credentials'
|
||||
else
|
||||
echo 'Updating sudo credentials'
|
||||
sudo --validate || exit 1
|
||||
sudo -v || exit 1
|
||||
fi
|
||||
|
||||
# FOCUS is ginkgo focus to select which tests to run. By default, FOCUS is
|
||||
|
Loading…
Reference in New Issue
Block a user