fs: add missing $$(sep) to pre- and post-command hooks code
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Fri, 3 Nov 2017 18:49:53 +0000 (11:49 -0700)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 5 Nov 2017 16:52:27 +0000 (17:52 +0100)
commit3f9476df07200fd86d59fb19b4183dafed5934f8
tree196b19a697326780e2f8b8a4c9d25a55a9a42888
parent9cf490f81844cb58196d66d003e18abdbfe4cff1
fs: add missing $$(sep) to pre- and post-command hooks code

When multiple hooks are registred, both pre-a and post-command hooks'
foreach loops need to have a separator at the end in order for the
code to work as intended. Without the separator all hooks end up as a
one single line command thus making all but the first hook into
no-ops.

Fixes: 4628b6f3b4 ("fs: add pre- and post-command hooks")
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
fs/common.mk