Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: innominate on March 26, 2015, 01:58:04 PM

Title: Exit code in tce-load broken on version 6.1
Post by: innominate on March 26, 2015, 01:58:04 PM
It looks like the tce-load has been broken because I think this used to work properly...

To reproduce:
Code: (bash) [Select]
tce-load -wi nonexistent
echo $?

From a cursory look, the "exit 1" in the abort_to_saved_dir function is being subverted by some code at the end of the script.

Cheers,
Dave
Title: Re: Exit code in tce-update broken on version 6.1
Post by: curaga on March 26, 2015, 02:00:26 PM
tce-update does not have -wi parameters?
Title: Re: Exit code in tce-load broken on version 6.1
Post by: innominate on March 26, 2015, 02:03:09 PM
Thanks... my mistake, I meant tce-load and corrected the post.
Title: Re: Exit code in tce-load broken on version 6.1
Post by: curaga on March 26, 2015, 02:17:28 PM
Confirming. Look for the fix in 6.2.
Title: Re: Exit code in tce-load broken on version 6.1
Post by: innominate on March 27, 2015, 09:54:55 AM
That was quick!  Thanks curaga.