diff options
Diffstat (limited to 'cobbler/collection_profiles.py')
-rw-r--r-- | cobbler/collection_profiles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/collection_profiles.py b/cobbler/collection_profiles.py index 7331b08..b11762f 100644 --- a/cobbler/collection_profiles.py +++ b/cobbler/collection_profiles.py @@ -47,7 +47,7 @@ class Profiles(collection.Collection): """ name = name.lower() for v in self.config.systems(): - if v.profile == name: + if v.profile.lower() == name: raise CX(_("removal would orphan system: %s") % v.name) if self.find(name=name): if with_delete: |