Skip to content
Snippets Groups Projects
Commit 8589faa7 authored by intrigeri's avatar intrigeri
Browse files

Applied Anarcat's patch to fix rdiff's $test

parent c1c28e70
Branches
Tags
No related merge requests found
......@@ -155,7 +155,7 @@ fi
removestr="${removestr}${destdir}/${label}";
debug "$removestr"
if [ ! $test ]; then
if [ $test = 0 ]; then
output=`$removestr 2>&1`
if [ $? = 0 ]; then
debug $output
......@@ -221,7 +221,7 @@ execstr="${execstr}--exclude '/*' "
execstr="${execstr}$execstr_sourcepart $execstr_destpart"
debug "$execstr"
if [ ! $test ]; then
if [ $test = 0 ]; then
output=`nice -n $nicelevel su -c "$execstr" 2>&1`
if [ $? = 0 ]; then
debug $output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment