initialize extra_mount_options as blank string in _check_xfs_filesystem to prevent...
authorDavid Disseldorp <ddiss@sgi.com>
Thu, 7 Sep 2006 04:00:20 +0000 (04:00 +0000)
committerDavid Disseldorp <ddiss@sgi.com>
Thu, 7 Sep 2006 04:00:20 +0000 (04:00 +0000)
Merge of master-melb:xfs-cmds:26931a by kenmcd.

  fixed mount arg duplication causing irix mounts to fail

common.rc

index 92970abb292d6ef0d0f9f4a22c4ab4a6e499be9f..6be40f6d547f35405ad08fcf2a602a919c86aa95 100644 (file)
--- a/common.rc
+++ b/common.rc
@@ -690,6 +690,7 @@ _check_xfs_filesystem()
        exit 1
     fi
 
        exit 1
     fi
 
+    extra_mount_options=""
     device=$1
     if [ "$2" != "none" ]; then
                extra_log_options="-l$2"
     device=$1
     if [ "$2" != "none" ]; then
                extra_log_options="-l$2"