[crux-commits] ports/contrib (refs/remotes/origin/3.6): pam_shrundir: do not even remove lockfile

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:57 UTC 2021


commit b9c269e2db079cc1a2f34dcbcfb85265293afaca
Author: Steffen Nurpmeso <steffen at sdaoden.eu>
Date:   Sat Jan 30 22:56:18 2021 +0100

    pam_shrundir: do not even remove lockfile

diff --git a/pam_shrundir/.signature b/pam_shrundir/.signature
index c37517a3f..236d90183 100644
--- a/pam_shrundir/.signature
+++ b/pam_shrundir/.signature
@@ -1,6 +1,6 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF37j5m3ENnI/CdZ9/UxM5HJfqz+tGHFzKhN+PrYJZNqRpA1mHWbZNDSOoDoQ1AQ0OA85InS1nMYGm+pqz5s5E1wo=
+RWSagIOpLGJF39ryQiXXWfGOf/yZ1AtynD2hFWvCZF5kehJmdPheI4+9VqYoyFqLuaBGNxz984GqfAGcPFnB3HzBBPcuwP5IOA8=
 SHA256 (Pkgfile) = e4d9c3d188a386f827acd0fbfc2403f9f60a7f1778138a818244236c78b8e230
 SHA256 (.footprint) = 477b045ddf332d5c081e4dfc5104f8c829e0c28058855b72b5832489b1406645
-SHA256 (pam_shrundir) = 5c7a86ca0962fa2a0a67b8e2f1687ba9d58d73f72c76a590a09d128de88eb365
+SHA256 (pam_shrundir) = dc45968e45873dd5f77e4e6315928d89d1d99e4d77ed17453bebd796e2ee24a7
 SHA256 (pam_shrundir.8) = 3c757d3dd6d4573c8ee3dbddc7754a28cab2f423dc5fbcf3b682e3e46e78c9cb
diff --git a/pam_shrundir/pam_shrundir b/pam_shrundir/pam_shrundir
index 582e366d3..82d2b3a39 100755
--- a/pam_shrundir/pam_shrundir
+++ b/pam_shrundir/pam_shrundir
@@ -62,7 +62,7 @@ umask 0077
    exit ${ex}
 ) 8>"${lckfile}"
 e=${?}
-rm -f "${lckfile}"
+# No good in sh(1): rm -f "${lckfile}"
 
 em=
 case ${e} in


More information about the crux-commits mailing list