summaryrefslogtreecommitdiffstats
path: root/cfg
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-02-14 22:10:30 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-02-15 16:22:23 +0100
commit0fc7f8f33eecad34976ae14617c736bf78eb3b0e (patch)
tree530182039c0047c0626affaf2b909288758d8954 /cfg
parent44250d033462666b9983c8d9b8e1c6cda5236ceb (diff)
src: ogChangeRepo returns zero on success and -1 on error
do not return the returncode, instead return an integer. do not use except CalledProcessError as e: it causes a another exception while handling exception. Remount the original image repository. it should be possible to simplify this further by: - stacking mounts, no need to umount initial repo and mount it again when switching to the new repo, because remount back initial repo might fail (!) - use check=False and simply check for x.returncode
Diffstat (limited to 'cfg')
0 files changed, 0 insertions, 0 deletions