diff options
author | Kornilios Kourtis <kkourt@cslab.ece.ntua.gr> | 2005-09-30 07:53:28 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2005-09-30 07:53:28 -0400 |
commit | 8f4e2a2ca1f7e1e2874761118513cb0bb1c8fa9a (patch) | |
tree | faf6ea681f51b96f9eb3b2f4379d4a9ba6cc6831 /scripts | |
parent | 7ea29beb163dd0314af8832cb169fdb9053b01c8 (diff) |
Fix off by one in testnodes script.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/testnodes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/testnodes b/scripts/testnodes index df811fa..33605cc 100755 --- a/scripts/testnodes +++ b/scripts/testnodes @@ -4,7 +4,7 @@ NRNODES=`grep processor /proc/cpuinfo | wc -l` need=0 -for i in `seq 0 $NRNODES` +for i in `seq 0 $(( $NRNODES - 1 ))` do if [ ! -c /dev/cpu/$i/cpuid ] ; then echo "*** No /dev/cpu/$i/cpuid found." |