Fix: the "Cancel" buttons used to have a weird behaviour... at least
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@232
758a04ac-41e6-0310-8a23-
8373a73cc35d
fixed missing makecd.helper in Makefile.am/.in
rdiff ninjahelper bugfixes:
used to expand '*' in default source directories
+ the "Cancel" buttons used to have a weird behaviour... at least
version 0.9.1 -- November 05 2005
rearranged source so that it is relocatable with autotools
formItem "dest_host" "$rdiff_host"
formItem "dest_user" "$rdiff_user"
formDisplay
- [ $? = 1 ] && return;
+ [ $? = 0 ] || return
IFS=$''
replyconverted=`echo $REPLY | tr '\n' :`
formItem include
formItem include
formDisplay
- [ $? = 1 ] && return;
+ [ $? = 0 ] || return
unset rdiff_includes
rdiff_includes=($REPLY)
formItem exclude
formItem exclude
formDisplay
- [ $? = 1 ] && return;
+ [ $? = 0 ] || return
unset rdiff_excludes
rdiff_excludes=($REPLY)
return
else
booleanBox "rdiff action wizard" "This step will create a ssh key for the local root user with no passphrase (if one does not already exist), and attempt to copy root's public ssh key to authorized_keys file of $rdiff_user@$rdiff_host. This will allow the local root to make unattended backups to $rdiff_user@$rdiff_host.\n\n\nAre you sure you want to continue?"
- [ $? = 1 ] && return
+ [ $? = 0 ] || return
fi
if [ ! -f /root/.ssh/id_dsa.pub -a ! -f /root/.ssh/id_rsa.pub ]; then
dest "$destitem" \
conn "$conitem" \
finish "finish and create config file"
- [ $? = 1 ] && return;
+ [ $? = 0 ] || return
result="$REPLY"
case "$result" in