aboutsummaryrefslogtreecommitdiffstats
path: root/add-service
diff options
context:
space:
mode:
Diffstat (limited to 'add-service')
-rwxr-xr-xadd-service1
1 files changed, 1 insertions, 0 deletions
diff --git a/add-service b/add-service
index 23b0094..96f515c 100755
--- a/add-service
+++ b/add-service
@@ -97,6 +97,7 @@ add_service() {
else
for i in $units; do
[ $i != ${i%.service} ] && ! fgrep -qx ${i%.service} $LIST && continue
+ [ $i != ${i%.socket} ] && ! fgrep -qx ${i%.socket} $LIST && continue
units_to_enable="$units_to_enable $i"
done
fi