WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Exit code in tce-load broken on version 6.1  (Read 2771 times)

Offline innominate

  • Newbie
  • *
  • Posts: 12
Exit code in tce-load broken on version 6.1
« on: March 26, 2015, 10:58:04 AM »
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
« Last Edit: March 26, 2015, 11:02:38 AM by innominate »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Exit code in tce-update broken on version 6.1
« Reply #1 on: March 26, 2015, 11:00:26 AM »
tce-update does not have -wi parameters?
The only barriers that can stop you are the ones you create yourself.

Offline innominate

  • Newbie
  • *
  • Posts: 12
Re: Exit code in tce-load broken on version 6.1
« Reply #2 on: March 26, 2015, 11:03:09 AM »
Thanks... my mistake, I meant tce-load and corrected the post.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Exit code in tce-load broken on version 6.1
« Reply #3 on: March 26, 2015, 11:17:28 AM »
Confirming. Look for the fix in 6.2.
« Last Edit: March 26, 2015, 11:33:36 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline innominate

  • Newbie
  • *
  • Posts: 12
Re: Exit code in tce-load broken on version 6.1
« Reply #4 on: March 27, 2015, 06:54:55 AM »
That was quick!  Thanks curaga.