Bugs item #1010661, was opened at 2004-08-17 13:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1010661&group_id=259

Category: systemimager-server
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Hector Blanco (xtor)
Assigned to: Nobody/Anonymous (nobody)
Summary: mkbootserver fails when run twice

Initial Comment:
mkbootserver (SI 3.2.3) creates some test files on
/sbin which aren't cleaned after a succesful execution.

Next time it runs, this "if" condition is always true,
so the program exits:


TMPFILE=""
for i in `seq 0 9`; do
    if [ -f "$TFTPDIR/test$i" -o -f "./test$i" ]; then
        continue
    fi
    TMPFILE="$TFTPDIR/test$i"
done
    
if [ "$TMPFILE" == "" ]; then
    echo "couldn't tell."
    echo "Unable to come up with an unused filename"
    return 1
fi


I suppose the solution is to remove the files once the
program have run. And it'd be more clean to put them in
a better place, like /tmp, instead of /usr/sbin.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1010661&group_id=259


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Sisuite-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to