Skip to content

Commit

Permalink
Merge pull request #17 from KishanBagaria/master
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod authored Sep 25, 2021
2 parents 1fcc254 + d184dae commit 8c2c766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maclaunch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function disablePeriodic() {
function listKernelExtensions {
local filter="$1"

if isSystemItemsDisabled; then
if ! isSystemItemsEnabled; then
return
fi

Expand Down Expand Up @@ -321,7 +321,7 @@ function listLaunchItems {

# add system dirs too if we supplied the system parameter
if [ "$filter" == "system" ]; then
if ! isSystemItemsDisabled; then
if isSystemItemsEnabled; then
itemDirectories=("${itemDirectories[@]}" "${system_dirs[@]}")
filter=""
fi
Expand Down

0 comments on commit 8c2c766

Please sign in to comment.