Skip to content
Snippets Groups Projects
Commit af4401ae authored by Bob Mottram's avatar Bob Mottram
Browse files

Alternative way of running addremove base command

parent 54b1c75c
No related branches found
No related tags found
No related merge requests found
......@@ -43,12 +43,8 @@ if [[ "$arg1" == 'add' ]]; then
fi
fi
/usr/local/bin/freedombone-addremove-base "$arg1" "$arg2" &
addremove_pid=$!
wait $addremove_pid
success=
if [ "$?" = "0" ]; then
if /bin/bash -c "/usr/local/bin/freedombone-addremove-base \"$arg1\" \"$arg2\""; then
success=1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment