xbps-triggers: system-accounts: force system account removal.
This commit is contained in:
@@ -133,7 +133,7 @@ run)
|
|||||||
echo "WARNING: cannot remove ${acct} system user/group (missing userdel)"
|
echo "WARNING: cannot remove ${acct} system user/group (missing userdel)"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
userdel ${_uname} >/dev/null 2>&1
|
userdel -f ${_uname} >/dev/null 2>&1
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Removed ${_uname} (${_uid}) system user/group."
|
echo "Removed ${_uname} (${_uid}) system user/group."
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.94
|
version=0.95
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user