Skip to content

Commit 98af947

Browse files
committed
include: dts-subscription: print warning instead of error
Signed-off-by: Daniil Klimuk <[email protected]>
1 parent 8fb9fbd commit 98af947

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/dts-subscription.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ login_to_dpp_server(){
9595
# Check if the user is already logged in, log in if not:
9696
if [ -z "$(mc alias list | grep ${CLOUDSEND_DOWNLOAD_URL})" ]; then
9797
if ! mc alias set $DPP_SERVER_USER_ALIAS $DPP_SERVER_ADDRESS $CLOUDSEND_DOWNLOAD_URL $CLOUDSEND_PASSWORD >> $ERR_LOG_FILE 2>&1 ; then
98-
print_error "Your credentials do not have access to DPP packages. If you bought one, check the"
99-
print_error "credentials you have used, and contact support. If you did not buy any DPP"
100-
print_error "packages - feel free to continue."
98+
print_warning "Your credentials do not have access to DPP packages. If you bought one, check the"
99+
print_warning "credentials you have used, and contact support. If you did not buy any DPP"
100+
print_warning "packages - feel free to continue."
101101
read -p "Press enter to continue"
102102
return 1
103103
fi

0 commit comments

Comments
 (0)