uscp returns wrong exit code when pushing files remotely

  • 7007512
  • 07-Jan-2011
  • 26-Apr-2012

Environment

Novell Privileged User Manager 2.2.1
Novell Privileged User Manager 2.2.2

Situation

Using uscp to copy a file remotely sets exit code improperly, when command completes successfully.

Example:
bergerbr@sd142:~> uscp root@sd143:/tmp/myfile.txt sd142_myfile.txt
bergerbr@sd142:~> echo $?
1

The correct exit code should be '0' as the command completed successfully.

Resolution

This has been resolved in Novell Privileged User Manager 2.3.0 (and greater).