Fix typos

Reported-by: Sander Bos
parent 46e754e7
...@@ -87,7 +87,7 @@ umask 0077 ...@@ -87,7 +87,7 @@ umask 0077
mkdir -p "/var/crash/$owner" mkdir -p "/var/crash/$owner"
chown "$owner" "/var/crash/$owner" chown "$owner" "/var/crash/$owner"
case "$limit" in case "$limit" in
# Core dump is not numeric, no nothing # Core dump is not numeric, do nothing
(*[!0-9]*) ;; (*[!0-9]*) ;;
# Core dump limit is empty, write full dump # Core dump limit is empty, write full dump
('') ('')
...@@ -101,6 +101,6 @@ case "$limit" in ...@@ -101,6 +101,6 @@ case "$limit" in
su -s /bin/sh -c 'head -c "$limit" > /var/crash/"$owner"/"$core"' \ su -s /bin/sh -c 'head -c "$limit" > /var/crash/"$owner"/"$core"' \
"$(getent passwd "$owner" | cut -d: -f1)" "$(getent passwd "$owner" | cut -d: -f1)"
;; ;;
# Core dumping is disabled, no nothing # Core dumping is disabled, do nothing
(*) ;; (*) ;;
esac esac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment