diff options
author | NeilBrown <neilb@suse.de> | 2014-05-26 01:37:05 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2014-05-26 01:37:05 +0200 |
commit | 868ab80deae400ec3c3896b135cf5d68784638d0 (patch) | |
tree | e09a6315f1507d1e22973b884688cc91cd84a186 /misc | |
parent | DDF: remove "BVD xx is missing". (diff) | |
download | mdadm-868ab80deae400ec3c3896b135cf5d68784638d0.tar.xz mdadm-868ab80deae400ec3c3896b135cf5d68784638d0.zip |
mdcheck: don't pass the '+' to "date".
It isn't needed, makes is harder to describe what --duration does.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/mdcheck | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/mdcheck b/misc/mdcheck index 60d8501f..33570b97 100644 --- a/misc/mdcheck +++ b/misc/mdcheck @@ -25,7 +25,7 @@ # # Options are: # --continue Don't start new checks, only continue old ones. -# --duration This is passed to "date --date=+$duration" to find out +# --duration This is passed to "date --date=$duration" to find out # when to finish # # To support '--continue', arrays are identified by UUID and the 'sync_completed' @@ -57,7 +57,7 @@ do ;; --continue ) cont=yes ;; --duration ) shift; dur=$1 - endtime=$(date --date "+$dur" "+%s") + endtime=$(date --date "$dur" "+%s") ;; esac shift |