aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-09 20:36:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-09 20:36:10 +0000
commit29c44e0647b4ab908ffbad58a9a850038c12920a (patch)
tree7c5368c9d79993f208eda78d8f55f360ae45e0ba /target/linux/ipq806x
parentb07a54e686aa61e7288583d54eb38cbf40880493 (diff)
downloadmaster-187ad058-29c44e0647b4ab908ffbad58a9a850038c12920a.tar.gz
master-187ad058-29c44e0647b4ab908ffbad58a9a850038c12920a.tar.bz2
master-187ad058-29c44e0647b4ab908ffbad58a9a850038c12920a.zip
busybox: lock: implement -n "Fail rather than wait"
lock -n is similiar to flock -n. If the lock was already taken, fail with exit code = 1 and write error message to stderr. example: if ! lock -n /tmp/foo ; then echo lock exits. else echo lock was free. But is locked now. fi > lock was free. But is locked now. > lock exists. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46836 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ipq806x')
0 files changed, 0 insertions, 0 deletions