ALT Linux Bugzilla
– Attachment 7830 Details for
Bug 34411
Отказ запуска gparted на системах с sysvinit
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
workaround for SysV
workaround-for-sysv.patch (text/plain), 357 bytes, created by
Антон Мидюков
on 2018-10-24 17:05:52 MSK
(
hide
)
Description:
workaround for SysV
Filename:
MIME Type:
Creator:
Антон Мидюков
Created:
2018-10-24 17:05:52 MSK
Size:
357 bytes
patch
obsolete
>diff --git a/gparted/gparted.in b/gparted/gparted.in >index 3f9b0f1..0309199 100755 >--- a/gparted/gparted.in >+++ b/gparted/gparted.in >@@ -41,6 +41,11 @@ fi > # > BASE_CMD="@sbindir@/gpartedbin $*" > >+# Workaround for SysVinit >+if ! /sbin/sd_booted; then >+ xdg-su -c $BASE_CMD >+fi >+ > # > # For non-root users try to get authorisation to run GParted as root. > #
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34411
: 7830