aboutsummaryrefslogtreecommitdiffstats
path: root/menu/xdg_menu
diff options
context:
space:
mode:
Diffstat (limited to 'menu/xdg_menu')
-rwxr-xr-xmenu/xdg_menu2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu/xdg_menu b/menu/xdg_menu
index f7fcea5..84b38ec 100755
--- a/menu/xdg_menu
+++ b/menu/xdg_menu
@@ -1830,7 +1830,7 @@ sub get_app_dirs
{
my %used;
my $ret = '';
- my @kde_xdgdata = split(/:/, `kde-config --path xdgdata-apps`);
+ my @kde_xdgdata = $> ? split(/:/, `kde-config --path xdgdata-apps`) : ();
foreach $_ (@kde_xdgdata) {
s/\/applications\/*\s*$//;