Commit d0a84ea5 authored by Bernhard Link's avatar Bernhard Link

Check for Ctrl-C while update and pull

parent 85f2f3bf
......@@ -455,7 +455,7 @@ retvalue upgradelist_update(struct upgradelist *upgrade, struct aptmethod *metho
break;
}
if( interrupted() ) {
r = RET_ERROR_INTERRUPTED;
result = RET_ERROR_INTERRUPTED;
break;
}
}
......@@ -491,7 +491,7 @@ retvalue upgradelist_pull(struct upgradelist *upgrade,struct target *source,upgr
if( RET_WAS_ERROR(r) )
break;
if( interrupted() ) {
r = RET_ERROR_INTERRUPTED;
result = RET_ERROR_INTERRUPTED;
break;
}
}
......
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