Skip to content

Commit

Permalink
fix: add --all options for available_targets check
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeChenL committed Jul 17, 2024
1 parent 8c98311 commit d14a018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/lib/rsetup/tui/system/system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ __system_set_target(){

for i in "${available_targets[@]}"
do
if [[ -z "$(systemctl list-units --no-legend "$i")" ]]
if [[ -z "$(systemctl list-units --all --no-legend "$i")" ]]
then
continue
elif [[ "$i" == "$current_target" ]]
Expand Down

0 comments on commit d14a018

Please sign in to comment.