inventory: Fix bad oneliner

My oneliner doesn't work :-(