YunoHost / package_check

Shell script which check package actions: install, remove, upgrade, backup, restore…
GNU General Public License v3.0
21 stars 26 forks source link

Don't let systemctl open a pager to list units... #134

Closed selfhoster1312 closed 1 year ago

selfhoster1312 commented 1 year ago

... or it will hang in in interactive terminal

This only happens when the check URL step failed: package_check tries to list all systemd services to find a service matching the app. When running on CI, this works fine, but running manually in a "real" terminal just stalls forever because systemctl opened a pager to view the list of services interactively.