Skip to content

Commit d8e7c15

Browse files
committed
fix: add --all options for available_targets check
1 parent 7884210 commit d8e7c15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/usr/lib/rsetup/tui/system/system.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ __system_set_target(){
171171

172172
for i in "${available_targets[@]}"
173173
do
174-
if [[ -z "$(systemctl list-units --no-legend "$i")" ]]
174+
if [[ -z "$(systemctl list-units --all --no-legend "$i")" ]]
175175
then
176176
continue
177177
elif [[ "$i" == "$current_target" ]]

0 commit comments

Comments
 (0)