From b6c5ac600fa2cc271d2b305a045e42f14b3d3c30 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 30 Apr 2009 12:19:56 -0400 Subject: [PATCH] --- yaml --- r: 161312 b: refs/heads/master c: fd3132d5815bf72aeec7d5ad87161b4831f8e48c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/extract-ikconfig | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 23e49346a724..1e0808cb5663 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 744ffcbe867b81e9f467503c85bc5e4f9a586294 +refs/heads/master: fd3132d5815bf72aeec7d5ad87161b4831f8e48c diff --git a/trunk/scripts/extract-ikconfig b/trunk/scripts/extract-ikconfig index 72997c353cb3..42d6bcefb400 100755 --- a/trunk/scripts/extract-ikconfig +++ b/trunk/scripts/extract-ikconfig @@ -17,6 +17,10 @@ dump_config() { return fi end=`$binoffset $file $IKCFG_ED 2>/dev/null` + [ "$?" != "0" ] && end="-1" + if [ "$end" -eq "-1" ]; then + return + fi start=`expr $start + 8` size=`expr $end - $start`