Skip to content

Commit ee5219d

Browse files
Merge pull request #90 from slagle/bootc
Use rm -f to remove optional repo files
2 parents 55ba53c + 0b29b44 commit ee5219d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootc/rhsm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RHSM_REPOS="--enable=rhoso-18.0-for-rhel-9-x86_64-rpms \
1111
# Only required when Simple Content Access (SCA) is disabled
1212
RHSM_POOL=""
1313

14-
rm /etc/yum.repos.d/*.repo
14+
rm -f /etc/yum.repos.d/*.repo
1515
subscription-manager register --username=$RHSM_USER --password=$RHSM_PASSWORD
1616
if [ -n "${RHSM_POOL}" ]; then
1717
subscription-manager attach --pool=$RHSM_POOL

0 commit comments

Comments
 (0)