Ondřej Hruška fb410a403d cm3/sync: Fix broken mutex_trylock()
Fails when the mutex was already locked.

Implemented zyp's fix for broken mutex. If it's 1 (= failure) by default, the function works fine.

irc log for reference
```
<zyp> strex returns 1 if it fails, 0 if it's successful
<zyp> but if the mutex is already locked, line 57 skips the status update and status gets remains at the initial value which means successful, which is wrong
<zyp> changing line 54 to status = 1 should do the trick
```
2016-01-06 14:36:30 +00:00
..
2014-01-03 01:07:30 +01:00
2014-01-03 01:07:30 +01:00
2014-01-03 01:07:30 +01:00
2016-01-06 14:36:30 +00:00
2015-11-24 09:55:27 +00:00