eal: fix runtime directory cleanup in noshconf mode
authorAnatoly Burakov <anatoly.burakov@intel.com>
Thu, 20 Dec 2018 11:11:48 +0000 (11:11 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 20 Dec 2018 22:27:35 +0000 (23:27 +0100)
commit307315d4577462943d0fcb2e6b8c8f35f90698d7
tree98d158dbe4f6077dffa4ba4c8d35fc2bdd24aaed
parent025e949138e4f9c2544d290de24bee9822f89f53
eal: fix runtime directory cleanup in noshconf mode

When using --no-shconf or --in-memory modes, there is no runtime
directory to be created, so there is no point in attempting to
clean it.

Fixes: 0a529578f162 ("eal: clean up unused files on initialization")

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/linuxapp/eal/eal.c