Skip to content

Commit

Permalink
Merge pull request #58 from Dasharo/fix-check-for-dasharo-firmware
Browse files Browse the repository at this point in the history
check_for_dasharo_firmware: fix checking for creds file
  • Loading branch information
DaniilKl authored Jan 2, 2025
2 parents f1cd35e + 27df882 commit 4ecfa7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/dts-subscription.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ check_for_dasharo_firmware() {

echo "Checking for Dasharo firmware..."

if [ -f "$DPP_CREDENTIAL_FILE" ]; then
if ! [ -f "$DPP_CREDENTIAL_FILE" ]; then
print_warning "No credentials provided, cannot check for Dasharo firmware access."
return 1
fi
Expand Down

0 comments on commit 4ecfa7c

Please sign in to comment.