[arch-projects] [initscripts] [PATCH 2/2] Correct spelling and grammar in comments of 'functions'
jstjohn at purdue.edu
jstjohn at purdue.edu
Wed Jun 20 18:35:55 EDT 2012
From: "Jason St. John" <jstjohn at purdue.edu>
This commit fixes some other spelling/grammar issues that were missed in
the previous commit. This commit only affects the 'functions' file.
---
functions | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/functions b/functions
index daf8d83..f6d9ab3 100644
--- a/functions
+++ b/functions
@@ -358,7 +358,7 @@ load_modules() {
return $rc
}
-# Start/trigger udev, load MODULES and settle udev
+# Start/trigger udev, load MODULES, and settle udev
udevd_modprobe() {
# $1 = where we are being called from.
# This is used to determine which hooks to run.
@@ -410,14 +410,14 @@ do_unlock() {
local _overwriteokay=0
if [[ -b $2 && -r $2 ]]; then
# This is DANGEROUS! If there is any known file system,
- # partition table, RAID or LVM volume on the device
- # we don't overwrite it.
+ # partition table, RAID, or LVM volume on the device
+ # we do not overwrite it.
#
# 'blkid' returns 2 if no valid signature has been found.
- # Only in this case we should allow overwriting the device.
+ # Only in this case should we allow overwriting the device.
#
# This sanity check _should_ be sufficient, but it might not.
- # This may cause dataloss if it is not used carefully.
+ # This may cause data loss if it is not used carefully.
blkid -p "$2" &>/dev/null
(( $? == 2 )) && _overwriteokay=1
fi
--
1.7.11
More information about the arch-projects
mailing list