diff --git a/debian/changelog b/debian/changelog index 2a72e219..449c778c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -com.github.stsdc.monitor (0.16.1) focal; urgency=low +com.github.stsdc.monitor (0.16.1-0) jammy; urgency=low * Fix segfault when user can't be retrieved for process diff --git a/meson/bump_version.py b/meson/bump_version.py index b1c2fa4c..512e9dea 100755 --- a/meson/bump_version.py +++ b/meson/bump_version.py @@ -43,7 +43,7 @@ def bump_meson(): def bump_deb_changelog(): DEB_CHANGELOG_FILENAME = "../debian/changelog" now = datetime.datetime.now() - deb_changelog_content = f"""com.github.stsdc.monitor ({sys.argv[1]}) focal; urgency=low\n + deb_changelog_content = f"""com.github.stsdc.monitor ({sys.argv[1]}) jammy; urgency=low\n * \n -- Stanisław Dac {now.strftime("%a, %d %b %Y %H:%M:%S %z")} +0000\n\n""" with open(DEB_CHANGELOG_FILENAME, 'r+') as f_deb_changelog: diff --git a/src/Managers/Process.vala b/src/Managers/Process.vala index 22874306..e12fe136 100644 --- a/src/Managers/Process.vala +++ b/src/Managers/Process.vala @@ -84,12 +84,12 @@ public class Monitor.Process : GLib.Object { uid = proc_uid.uid; - // getting username - // @TOFIX: Can't get username for postgres when started from docker (?) - unowned Posix.Passwd passwd = Posix.getpwuid (uid); - if (passwd != null){ - username = passwd.pw_name; - } + // getting username + // @TOFIX: Can't get username for postgres when started from docker (?) + unowned Posix.Passwd passwd = Posix.getpwuid (uid); + if (passwd != null) { + username = passwd.pw_name; + } exists = parse_stat () && read_cmdline ();