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

epm-autoremove: fix run autoremove

parent 48e0bf58
...@@ -240,7 +240,7 @@ case $DISTRNAME in ...@@ -240,7 +240,7 @@ case $DISTRNAME in
fi fi
if [ -z "$direct" ] ; then 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 sudocmd apt-get $(subst_option non_interactive -y) autoremove $dryrun
local RET=$? local RET=$?
[ "$RET" = 0 ] || return [ "$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