diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-06 13:25:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-06 13:25:52 +0000 |
commit | 702d9ee2d1f26e1c5c601d19a187c0377fda9cd0 (patch) | |
tree | 4797acb5e7a94dd8b178bf3e6abf75e607d83e5f /bin | |
parent | 23ae11681bacf5078d0546c7299525300be78f21 (diff) | |
download | drakx-net-702d9ee2d1f26e1c5c601d19a187c0377fda9cd0.tar drakx-net-702d9ee2d1f26e1c5c601d19a187c0377fda9cd0.tar.gz drakx-net-702d9ee2d1f26e1c5c601d19a187c0377fda9cd0.tar.bz2 drakx-net-702d9ee2d1f26e1c5c601d19a187c0377fda9cd0.tar.xz drakx-net-702d9ee2d1f26e1c5c601d19a187c0377fda9cd0.zip |
add "\n" to exception in order not to fire up drakbug (#32292)
Diffstat (limited to 'bin')
-rw-r--r-- | bin/net_applet | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/net_applet b/bin/net_applet index cd12713..e96475a 100644 --- a/bin/net_applet +++ b/bin/net_applet @@ -26,10 +26,8 @@ use Gtk2::TrayIcon; use ugtk2 qw(:create :helpers :wrappers :dialogs); my $onstartupfile = "$ENV{HOME}/.net_applet"; -if (!shouldStart()) { - warn "$onstartupfile should be set to TRUE or use net_applet --force"; - exit(1); -} +shouldStart() or die "$onstartupfile should be set to TRUE or use net_applet --force\n"; + #- Allow multiple instances, but only one per user: is_running('net_applet') and die "net_applet already running\n"; |