]> git.pld-linux.org Git - packages/nfs-utils.git/commitdiff
- typo
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 15 Mar 2009 11:04:13 +0000 (11:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- consistent awk invocations

Changed files:
    nfsfs.init -> 1.41

nfsfs.init

index 46961a0d6c80419d4cf0e42f71b1e3ccc4256fbb..c0783d35361b803764136e6b7139408564aa2e51 100644 (file)
@@ -80,13 +80,13 @@ stop() {
                        $3 ~ /^nfs(4$|$)/ && $2 !~ ig {print $2}' $fsfile)
        while [ -n "$remaining" -a $retry -gt 0 ]; do
                fuser -msk -TERM `awk -v ig="^($NFSUMOUNT_IGNORE)$" 'BEGIN { gsub(/[\t ]+/, "|", ig); } \
-                                       $3 ~ /^nfs(4$|$)/ && $2 !~ ig {print $2}' $fsfile`
+                                       $3 ~ /^nfs(4$|$)/ && $2 !~ ig {print $2}' $fsfile`
                sleep 2
                fuser -msk -KILL `awk -v ig="^($NFSUMOUNT_IGNORE)$" 'BEGIN { gsub(/[\t ]+/, "|", ig); } \
-                                       $3 ~ /^nfs(4$|$)/ && $2 !~ ig {print $2}' $fsfile`
+                                       $3 ~ /^nfs(4$|$)/ && $2 !~ ig {print $2}' $fsfile`
                # Sort filesystems to unmount in reverse order
                rem=""
-               for r in $(`awk -v ig="^($NFSUMOUNT_IGNORE)$" 'BEGIN { gsub(/[\t ]+/, "|", ig); } \
+               for r in $(awk -v ig="^($NFSUMOUNT_IGNORE)$" 'BEGIN { gsub(/[\t ]+/, "|", ig); } \
                                $3 ~ /^nfs(4$|$)/ && $2 !~ ig {print $2}' $fsfile) ; do
                        rem="$r $rem"
                done
This page took 0.102623 seconds and 4 git commands to generate.