WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline innominate

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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: Exit code in tce-update broken on version 6.1
« Reply #1 on: March 26, 2015, 02:00:26 PM »
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, 02:03:09 PM »
Thanks... my mistake, I meant tce-load and corrected the post.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: Exit code in tce-load broken on version 6.1
« Reply #3 on: March 26, 2015, 02:17:28 PM »
Confirming. Look for the fix in 6.2.
« Last Edit: March 26, 2015, 02:33:36 PM 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, 09:54:55 AM »
That was quick!  Thanks curaga.