backintime fails when remote shell is fish
Bug #1494162 reported by
marco cammarata
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Back In Time |
New
|
Undecided
|
Unassigned |
Bug Description
Setting up a profile (backing up via ssh) fails when remote shell is fish.
backintime complains that cannot create remote folder. starting the backintime-qt4 from terminal I see the following error:
Unsupported use of '||'. In fish, please use 'COMMAND; or COMMAND'.
fish: d=0;test -e /data/marcoc/ || d=1;test $d -eq 1 && mkdir /data/marcoc/; err=$?;test $d -eq 1 && exit $err;test -d /data/marcoc/ || exit 11;test -w /data/marcoc/ || exit 12;test -x /data/marcoc/ || exit 13;exit 20
Thanks,
marco
To post a comment you must log in.
One possible solution could be to add to the Popen.subproces s(....) call the argument: '/bin/bash'
executable=
of course this could create problems if the path is different ...
so a possible solution could be to add in the advanced tab the path to the shell (by default /bin/bash).
hope it helps,
marco