AppliesTo: | Component: | Priority: | CurrentState: | WaitingFor: | TargetRelease | ReleasedIn |
---|---|---|---|---|---|---|
Extension | UploadToTWikiAddOn | Normal | New | n/a |
uploadtotwiki
exits is inverted (as far as the shell is concerned): it returns 1 upon success, 0 upon failure.
The exit code is derived from the return of uploadFile
():
exit uploadFile( $comment, $hide, $link, $delay, $url, @files );which returns an appropriately Perlish result (1 for success, 0 for failure). This change
resolves the problem. -- TWiki:Main/DiabJeriusexit !uploadFile( $comment, $hide, $link, $delay, $url, @files );
ItemTemplate | |
---|---|
Summary | exit value is inverted |
ReportedBy |
TWiki:Main.DiabJerius![]() |
Codebase | |
SVN Range | TWiki-5.0.0, Sun, 09 Mar 2008, build 16496 |
AppliesTo | Extension |
Component | UploadToTWikiAddOn |
Priority | Normal |
CurrentState | New |
WaitingFor | |
Checkins | |
TargetRelease | n/a |
ReleasedIn |