mount: call hotplug mount scripts only on success
authorRafał Miłecki <rafal@milecki.pl>
Wed, 3 Jan 2018 10:31:21 +0000 (11:31 +0100)
committerJohn Crispin <john@phrozen.org>
Sun, 7 Jan 2018 11:48:36 +0000 (12:48 +0100)
commit0f4f20ba5ce2dc24914c231eb2984d40b30d2adb
treed70b93bb113cce6f83b0a094eb63699411d33777
parent7826ca5d6aca691dcb6f98ab203a090d42e79337
mount: call hotplug mount scripts only on success

If mounting fails for whatever reason (like unsupported file system or
something) hotplug.d scripts shouldn't be called.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
mount.c