projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23211fd
)
[PATCH] verify_blkparse: proper check of file given
author
Jens Axboe
<axboe@suse.de>
Wed, 28 Sep 2005 12:52:06 +0000
(14:52 +0200)
committer
Jens Axboe
<axboe@suse.de>
Wed, 28 Sep 2005 12:52:06 +0000
(14:52 +0200)
verify_blkparse
patch
|
blob
|
blame
|
history
diff --git
a/verify_blkparse
b/verify_blkparse
index bd6a4fb51dafa95a7c2573837c9420ef5337c088..ddbcada302156e8ef264c9a2f85d5013764df2a1 100755
(executable)
--- a/
verify_blkparse
+++ b/
verify_blkparse
@@
-5,6
+5,10
@@
// Parse time correctness of blkparse output
// Thomas Kenne <thomas@2ndfloor.dk>
+if (!isset($argv[1])) {
+ die("need file as argument\n");
+}
+
$file = $argv[1];
if (!is_file($file)) {