upgrades-migrations / preupgrade-assistant

The Preupgrade Assistant performs an assessment of the system from the "upgradeability" point of view. Disclaimer: It was fun. R.I.P. :-)
GNU General Public License v3.0
13 stars 15 forks source link

Do not call getcwd which may fail #326

Open bocekm opened 7 years ago

bocekm commented 7 years ago

https://bugzilla.redhat.com/show_bug.cgi?id=1346743

AloisMahdal commented 7 years ago

(Porting original description from @marmolak)

Version-Release number of selected component

preupgrade-assistant-2.1.7-3.el5_11

Steps to Reproduce

mkdir /tmp/x
cd /tmp/x
rmdir /tmp/x
preupg --force

Actual results

Fails... "No such file or directory."

Expected results

Maybe it can change current working directory to know location.