From 829a5e147315c0869710b13e25768d12f5d91813 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 31 Jan 2022 22:02:57 +0000 Subject: added or to shadow --- repo/system/shadow.xibuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repo/system') diff --git a/repo/system/shadow.xibuild b/repo/system/shadow.xibuild index 1daafc3..99330ff 100644 --- a/repo/system/shadow.xibuild +++ b/repo/system/shadow.xibuild @@ -176,8 +176,8 @@ EOF sed -i "s/chage/$PROGRAM/" $PKG_DEST/etc/pam.d/${PROGRAM} done - [ -f $PKG_DEST/etc/login.access ] && mv -v $PKG_DEST/etc/login.access{,.NOUSE} - [ -f $PKG_DEST/etc/limits ] && mv -v $PKG_DEST/etc/limits{,.NOUSE} + [ -f $PKG_DEST/etc/login.access ] && mv -v $PKG_DEST/etc/login.access{,.NOUSE} || true + [ -f $PKG_DEST/etc/limits ] && mv -v $PKG_DEST/etc/limits{,.NOUSE} || true -- cgit v1.2.1