Commit 4e3eb821 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-autoremove: fix run autoremove

parent 48e0bf58
......@@ -240,7 +240,7 @@ case $DISTRNAME in
fi
if [ -z "$direct" ] ; then
fatal "Run autoremove without args or with --direct. Check epm autoremove --help to available commands."
[ -n "$1" ] && fatal "Run autoremove without args or with --direct. Check epm autoremove --help to available commands."
sudocmd apt-get $(subst_option non_interactive -y) autoremove $dryrun
local RET=$?
[ "$RET" = 0 ] || return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment