When I do a within-a-host rsync (2.4.6) on an hpux11 box [sample script below...], I get wildly varying non-zero exit codes. For example, on this script, running it four times in succession gives exit codes of 47, 61, 53, and 154 (as determined by "echo $?"). Knowing that GCC-on-HPUX11 is a dubious beast, I built rsync with HP's /opt/ansic/bin/cc. Same results. If I drop the hpux10.20 rsync into the same script, it works fine (exit code of zero always). Ideas? Will #! /bin/sh -x install_dir='/d/.-ark-install-ALL/automount-maps--CURRENT/ekbdc005' deploy_dir='/.-ark-deploy-root/automount-maps--CURRENT' sudo /d/.-ark-install-hppa-hpux11/rsync--2.4.6/bin/rsync -v --archive --delete --exclude='.-ark-deploy:copy' "$install_dir/" "$deploy_dir"
