]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
change ignore errors uninstall
authorBastian Dehn <hhaalo@arcor.de>
Mon, 8 Dec 2025 19:18:05 +0000 (20:18 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 8 Dec 2025 19:18:05 +0000 (20:18 +0100)
src/debian/postrm

index ae1438442c8b76f0b19b62275d12cf50c02418d5..482b8138aa66609003ae06dbdbc15368aca73877 100644 (file)
@@ -17,7 +17,7 @@ main()
 
        [ -f "$DLLCONFIG" ] \
                || errlog "ERROR: $DLLCONFIG does not exist" \
-               || return $?
+               || return 0
 
        echo "found $DLLCONFIG"
        local entrycheck=$(cat $DLLCONFIG | grep $ENTRY)
@@ -28,7 +28,7 @@ main()
 
        sed -i "/$ENTRY/d" $DLLCONFIG \
                || errlog "could not remove $ENTRY from $DLLCONFIG"  \
-               || return $?
+               || return 0
 
        echo "remove $ENTRY from $DLLCONFIG"
 }