[SRU] Avoid error message when the file doesn't exist
Bug #1911379 reported by
Patrick Wu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wslu (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Groovy |
Fix Released
|
Low
|
Unassigned | ||
Hirsute |
Fix Released
|
Low
|
Unassigned |
Bug Description
[Impact]
this affects wslu 3.x which, when tries to start with a clean environment after upgrade, the terminal will throw `rm: file not found` error.
[Test Case]
* Install Ubuntu 20.10 to WSL.
* run any wslu tools (like wslfetch)
* Verify that there is no `rm -rf` error.
[Regression Potential]
This patch will try to remove ~/.config/wslu/ to order to reset to default state (especially when first upgrade to latest wslu). Potential regressions would be a result of ~/.config/wslu/ not being cleaned properly.
Related branches
~callmepk/ubuntu/+source/wslu:ubuntu/master
Merged
into
~ubuntu-core-dev/ubuntu/+source/wslu:ubuntu/master
at
revision 391077b422ec6ab8a4162e4816cbf65031989847
- Sebastien Bacher: Approve
-
Diff: 65 lines (+45/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/0001-Avoid-error-message-when-the-file-doesnt-exist.patch (+36/-0)
debian/patches/series (+2/-0)
Changed in wslu (Ubuntu): | |
status: | New → Incomplete |
Changed in wslu (Ubuntu Hirsute): | |
status: | Incomplete → New |
description: | updated |
description: | updated |
description: | updated |
no longer affects: | wslu (Ubuntu Focal) |
description: | updated |
summary: |
- [SRU] wslu 3.2.1-0ubuntu2 + [SRU] wslu 3.2.1-0ubuntu2 to hirsute and groovy |
summary: |
- [SRU] wslu 3.2.1-0ubuntu2 to hirsute and groovy + [SRU] Avoid error message when the file doesn't exist |
tags: | removed: verification-needed |
To post a comment you must log in.
Upload to H and SRU to G