1
0
mirror of git://git.suckless.org/sbase synced 2024-12-25 16:32:37 +00:00

If multiple modes are supplied to flock(1), the last one wins

This commit is contained in:
sin 2015-10-07 10:26:04 +01:00
parent 9a176e4011
commit acca463813

View File

@ -31,7 +31,7 @@ main(int argc, char *argv[])
flags = LOCK_UN; flags = LOCK_UN;
break; break;
case 'x': case 'x':
/* for compat */ flags = LOCK_EX;
break; break;
default: default:
usage(); usage();