Page MenuHomeFreeBSD

D47641.id146604.diff
No OneTemporary

D47641.id146604.diff

diff --git a/libexec/save-entropy/save-entropy.sh b/libexec/save-entropy/save-entropy.sh
--- a/libexec/save-entropy/save-entropy.sh
+++ b/libexec/save-entropy/save-entropy.sh
@@ -69,7 +69,11 @@
Entropy file rotation is aborted.; exit 1; }
for f in saved-entropy.*; do
- case "${f}" in saved-entropy.\*) continue ;; esac # No files match
+ case "${f}" in
+ saved-entropy.|saved-entropy.*[!0-9]*) # No files match
+ continue
+ ;;
+ esac
[ ${f#saved-entropy\.} -gt ${entropy_save_num} ] && unlink ${f}
done

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 23, 10:56 PM (6 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24106722
Default Alt Text
D47641.id146604.diff (521 B)

Event Timeline